getMaxExposureOffset method

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

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

Implementation

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

  return maxExposureOffset!;
}