keepMinSeconds property

int get keepMinSeconds

Minimum total seconds of recordings to retain on disk.

When this threshold is exceeded and space is low, older recordings may be removed. To force deletion regardless of space set deleteOlderThanKeepMin to true.

Implementation

int get keepMinSeconds {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RecorderConfiguration',
    'getKeepMinSeconds',
  );
  return resultString['result'];
}
set keepMinSeconds (int keepMinSeconds)

Set the minimum total seconds of recordings to retain on disk.

Implementation

set keepMinSeconds(final int keepMinSeconds) {
  objectMethod(
    pointerId,
    'RecorderConfiguration',
    'setKeepMinSeconds',
    args: keepMinSeconds,
  );
}