setExposureMode method
Set the exposure mode for a device.
supportedExposureModes should be called before this.
Implementation
@override
Future<void> setExposureMode(ExposureMode mode) {
verifyInitialized();
verifyNotDisposed();
switch (mode) {
case ExposureMode.locked:
return cameraParameters.setAutoExposureLock(toggle: true);
case ExposureMode.continuous:
return cameraParameters.setAutoExposureLock(toggle: false);
}
}