PlaySilenceAction
Relay.Calling.PlaySilenceAction​
This object represents a silence action
that is currently active on a call.
Properties​
call | Relay.Calling.Call | This is the call the action is occurring on. |
Methods​
Stop()​
Stop the action immediately.
Parameters
None
Returns
StopResult
Examples
Play 10 seconds of silence and then stop.
playSilence, err := resultDial.Call.PlaySilenceAsync(10);
if err != nil {
signalwire.Log.Error("Error occurred while trying to play silence. Err: %v\n", err)
}
playSilence.Stop()