maxDiskSpaceUsed property

int get maxDiskSpaceUsed

Maximum disk space (bytes) that recordings may occupy.

When the total size of recordings reaches this limit the recorder stops to avoid exceeding the configured space. A value of 0 disables disk checks.

Implementation

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

Configure the maximum disk space (in bytes) that recordings may occupy.

Implementation

set maxDiskSpaceUsed(final int maxDiskSpaceUsed) {
  objectMethod(
    pointerId,
    'RecorderConfiguration',
    'setMaxDiskSpaceUsed',
    args: maxDiskSpaceUsed,
  );
}