chunkDurationSeconds property
Gets the chunk duration time in seconds
Default value is 0
. If set to 0, the recording will not be split into chunks.
If set, the recorder will check for enough disk space to store a full chunk before starting. See Resolution for estimated size values per quality level.
When the duration is reached, the recording stops. If continuousRecording is set to true
, a new recording starts automatically.
Implementation
int get chunkDurationSeconds {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderConfiguration',
'getChunkDurationSeconds',
);
return resultString['result'];
}
Sets the chunk duration time in seconds
Default value is 0
. If set to 0, the recording will not be split into chunks.
If set, the recorder will check for enough disk space to store a full chunk before starting. See Resolution for estimated size values per quality level.
When the duration is reached, the recording stops. If continuousRecording is set to true
, a new recording starts automatically.
Implementation
set chunkDurationSeconds(final int chunkDurationSeconds) {
objectMethod(
pointerId,
'RecorderConfiguration',
'setChunkDurationSeconds',
args: chunkDurationSeconds,
);
}