pauseRecording method

GemError pauseRecording()

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

Implementation

GemError pauseRecording() {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'Recorder',
    'pauseRecording',
  );
  return GemErrorExtension.fromCode(resultString['result']);
}