setExposureMode method

  1. @override
Future<void> setExposureMode(
  1. int cameraId,
  2. ExposureMode mode
)

Sets the exposure mode for taking pictures.

Implementation

@override
Future<void> setExposureMode(int cameraId, ExposureMode mode) => _channel.invokeMethod<void>(
      'setExposureMode',
      <String, dynamic>{
        'cameraId': cameraId,
        'mode': serializeExposureMode(mode),
      },
    );