isZeroShutterLagSupported method
Returns whether the selected camera supports zero-shutter-lag capture.
Zero-shutter-lag reduces the latency of takePicture by returning a recently buffered frame instead of waiting for a new capture.
Implementation
Future<bool> isZeroShutterLagSupported() async {
_throwIfNotInitialized('isZeroShutterLagSupported');
try {
return await CameraPlatform.instance.isZeroShutterLagSupported(_cameraId);
} on PlatformException catch (e) {
throw CameraException(e.code, e.message);
}
}