PlayAction
SignalWire.Relay.Calling.PlayAction
This object returned from one of the asynchronous Play methods that represent a play operation that is currently active on a call.
Properties
Methods
Stop
Stop the action immediately.
Parameters
None
Returns
SignalWire.Relay.Calling.StopResult - The result object to interact with.
Examples
Start playing an audio file and stop it after 5 seconds.
Volume
Change the volume of the action immediately.
Parameters
Returns
SignalWire.Relay.Calling.PlayVolumeResult - The result object to interact with.
Examples
Start playing an audio file and change the volume after after 5 seconds.
Pause
Pause playback of the action immediately.
Parameters
None
Returns
SignalWire.Relay.Calling.PlayPauseResult - The result object to interact with.
Examples
Start playing an audio file and pause it after 5 seconds.
Resume
Resume playback of the action immediately.
Parameters
None
Returns
SignalWire.Relay.Calling.PlayResumeResult - The result object to interact with.
Examples
Start playing an audio file and pause it after 5 seconds, then resume it after 5 seconds.