pauseRecording method

GemError pauseRecording()

Pauses an ongoing recording.

Transitions the recorder to RecorderStatus.pausing and then to RecorderStatus.paused when successful.

Returns

Implementation

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