setExposureMode method

Future<void> setExposureMode(
  1. int mode
)

The exposure mode for the device.

Before changing the value of this property, you must call lockForConfiguration to acquire exclusive access to the device’s configuration properties. Otherwise, setting the value of this property raises an exception. When you are done configuring the device, call unlockForConfiguration to release the lock and allow other devices to configure the settings.

See CaptureExposureMode for possible values.

Implementation

Future<void> setExposureMode(int mode) {
  return _channel.$setExposureMode(this, mode);
}