videoQuality property
Resolution
get
videoQuality
Gets the video quality of the recording.
Determines the resolution of recorded video (e.g., SD, HD, FullHD). If set to Resolution.unknown and DataType.camera is requested, video recording will not proceed.
Implementation
Resolution get videoQuality {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderConfiguration',
'getVideoQuality',
);
return ResolutionExtension.fromId(resultString['result']);
}
set
videoQuality
(Resolution videoQuality)
Sets the video quality of the recording.
Determines the resolution of recorded video (e.g., SD, HD, FullHD). If set to Resolution.unknown and DataType.camera is requested, video recording will not proceed.
Implementation
set videoQuality(final Resolution videoQuality) {
objectMethod(
pointerId,
'RecorderConfiguration',
'setVideoQuality',
args: videoQuality.id,
);
}