Relay.Calling.RecordResult
Relay.Calling.RecordResult​
This object returned from record method that represents the final result of a recording.
Methods-submenu​
GetDuration​
Returns the duration of the recording in seconds.
Parameters
None
Returns
number - Duration of the recording in seconds.
GetEvent​
Returns the last Relay Event arrived for this operation.
Parameters
None
Returns
Relay.Event - Last Relay Event.
GetSize​
Returns the size of the recording file.
Parameters
None
Returns
number - Size of the recording file.
GetUrl​
Returns the HTTPS URL to the recording file.
Parameters
None
Returns
string - HTTPS URL to the file.
GetSuccessful​
Return true if the recording succeeded, false otherwise.
Parameters
None
Returns
boolean - True/False accordingly to the state.