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 and returns -1 when exposure compensation is not supported.

Implementation

@override
Future<double> getExposureOffsetStepSize(int cameraId) async {
  // TODO(jokerttu): Implement exposure control support, https://github.com/flutter/flutter/issues/97537.
  // Value is returned to support existing implementations.
  return 1.0;
}