Tap Result
Relay.Calling.TapResult
This object returned from tap method that represents the final result of a tapping.
Methods
getDestinationDevice
Returns the destination device receiving media.
Parameters
None
Returns
Object - The destination device.
Examples
Tapping audio from the call and then inspect the destination device.
getEvent
Returns the last Relay Event arrived for this operation.
Parameters
None
Returns
Relay.Event - Last Relay Event.
Examples
Tapping audio from the call and grab the result when it’s completed.
getSourceDevice
Returns the source device sending media.
Parameters
None
Returns
Object - The source device.
Examples
Tapping audio from the call and then inspect the source device.
getTap
Returns the payload for this tap action.
Parameters
None
Returns
Object - Payload used to start tapping.
Examples
Tapping audio from the call and then inspect the
tappayload.
isSuccessful
Return true if the tapping succeeded, false otherwise.
Parameters
None
Returns
Boolean - True/False accordingly to the state.
Examples
Tapping audio from the call and then check if it has ended successfully.