Skip to content

camera_platform_interface-v2.15.0

@toyaji toyaji tagged this 11 Oct 23:09
Platform interface portion of #12374, split out per the [federated plugin process](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins) now that the combined PR is approved. No changes from what was reviewed there.

Adds two methods to `CameraPlatform`, with `false` / no-op defaults:

```dart
Future<bool> isZeroShutterLagSupported(int cameraId);
Future<void> setZeroShutterLagEnabled(int cameraId, bool enabled);
```

Part of https://github.com/flutter/flutter/issues/190598

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Assets 2
Loading