focusModesSupported method

Future<List<int>> focusModesSupported(
  1. List<int> modes
)

Returns a subset of values that indicates whether the given focus modes are supported.

See CaptureFocusMode.

Implementation

Future<List<int>> focusModesSupported(List<int> modes) async {
  final List<Object?> supportedModes =
      await _channel.$focusModesSupported(this, modes) as List<Object?>;
  return supportedModes.cast<int>();
}