pauseRecording method
Pauses an ongoing recording.
Transitions the recorder to RecorderStatus.pausing and then to RecorderStatus.paused when successful.
Returns
- GemError.success Recorder paused successfully.
- GemError.busy Recorder could not pause because it is busy.
- GemError.general A generic error occurred while pausing.
Implementation
GemError pauseRecording() {
final OperationResult resultString = objectMethod(
pointerId,
'Recorder',
'pauseRecording',
);
return GemErrorExtension.fromCode(resultString['result']);
}