minDurationSeconds property
Gets the minimum recording duration for it to be saved.
The default value is 30 seconds. If the recording is shorter than this duration it will be discarded.
Implementation
int get minDurationSeconds {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderConfiguration',
'getMinDurationSeconds',
);
return resultString['result'];
}
Sets the minimum recording duration for it to be saved.
The default value is 30 seconds. If the recording is shorter than this duration it will be discarded.
Implementation
set minDurationSeconds(final int minDurationSeconds) {
objectMethod(
pointerId,
'RecorderConfiguration',
'setMinDurationSeconds',
args: minDurationSeconds,
);
}