Relay.Calling.RecordAction
Relay.Calling.RecordAction
This object returned from recordAsync method that represents a recording that is currently active on a call.
Methods-submenu
GetResult
Returns the final result of the recording.
Parameters
None
Returns
Relay.Calling.RecordResult - Final result of the recording.
Examples
Start recording in stereo mode and grab the result when it’s completed.
GetState
Return the current state of recording.
Parameters
None
Returns
string - Current state of recording.
GetCompleted
Return true if the recording has finished, false otherwise.
Parameters
None
Returns
Boolean - True/False accordingly to the state.
Examples
Start recording in stereo mode and check if it has finished.
GetControlID
Return the UUID to identify the action.
Parameters
None
Returns
string - UUID to identify the action.
Examples
Start recording and print the controlId.
Stop
Stop the action immediately.
Parameters
None
Returns
Examples
Start recording with default params and stop it upon condition