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