getExposureOffsetStepSize method

Future<double> getExposureOffsetStepSize()

Gets the supported step size for exposure offset for the selected camera in EV units.

Returns 0 when the camera supports using a free value without stepping.

Implementation

Future<double> getExposureOffsetStepSize() async {
  _throwIfNotInitialized('getExposureOffsetStepSize');
  try {
    return CameraPlatform.instance.getExposureOffsetStepSize(_cameraId);
  } on PlatformException catch (e) {
    throw CameraException(e.code, e.message);
  }
}