continuousRecording property

bool get continuousRecording

Gets the boolean value that indicates whether recording should continue automatically after reaching the chunk duration.

If true, a new recording will start automatically when the current chunk ends.

Implementation

bool get continuousRecording {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RecorderConfiguration',
    'getContinuousRecording',
  );
  return resultString['result'];
}
set continuousRecording (bool continuousRecording)

Sets the boolean value that indicates whether recording should continue automatically after reaching the chunk duration.

If true, a new recording will start automatically when the current chunk ends.

Implementation

set continuousRecording(final bool continuousRecording) {
  objectMethod(
    pointerId,
    'RecorderConfiguration',
    'setContinuousRecording',
    args: continuousRecording,
  );
}