pauseRecording method
Pauses the recording.
Initiates the process of pausing the recording and transitions the recorder status to RecorderStatus.pausing first. If the pause operation is successful, the status will change to RecorderStatus.paused. A notification is issued upon successful pause.
Returns
- GemError.success If successfully moved to RecorderStatus.paused status.
- GemError.busy The recorder could not transition to RecorderStatus.pausing because it is busy with another operation.
- GemError.general A general error occurred while attempting to pause the recording.
Throws
- An exception if it fails
Implementation
GemError pauseRecording() {
final OperationResult resultString = objectMethod(
_pointerId,
'Recorder',
'pauseRecording',
);
return GemErrorExtension.fromCode(resultString['result']);
}