getExposureOffsetStepSize method

  1. @override
Future<double> getExposureOffsetStepSize(
  1. int cameraId
)

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

@override
Future<double> getExposureOffsetStepSize(int cameraId) async {
  final double? stepSize = await _channel.invokeMethod<double>(
    'getExposureOffsetStepSize',
    <String, dynamic>{'cameraId': cameraId},
  );

  return stepSize!;
}