maxDiskSpaceUsed property
Gets the maximum disk space that recordings can occupy.
Specifies the maximum total size (in bytes) that all recordings can occupy on disk. When this limit is reached, recording stops to prevent exceeding the specified space.
Ex: 100 * 1024*1024 = 100 MB. All logs will not occupy more than this.
Special Behavior
If set to 0
, no disk space checks are performed, and recordings will continue without considering available disk space.
The default value is 0
(ignore disk limit).
Implementation
int get maxDiskSpaceUsed {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderConfiguration',
'getMaxDiskSpaceUsed',
);
return resultString['result'];
}
Sets the maximum disk space that recordings can occupy.
Specifies the maximum total size (in bytes) that all recordings can occupy on disk. When this limit is reached, recording stops to prevent exceeding the specified space.
Ex: 100 * 1024*1024 = 100 MB. All logs will not occupy more than this.
Special Behavior
If set to 0
, no disk space checks are performed, and recordings will continue without considering available disk space.
The default value is 0
(ignore disk limit).
Implementation
set maxDiskSpaceUsed(final int maxDiskSpaceUsed) {
objectMethod(
pointerId,
'RecorderConfiguration',
'setMaxDiskSpaceUsed',
args: maxDiskSpaceUsed,
);
}