UCameraCapabilities constructor
const
UCameraCapabilities({
- bool flash = false,
- bool torch = false,
- UCameraRange zoom = UCameraRange.unsupported,
- UCameraRange exposureOffset = UCameraRange.unsupported,
- UCameraRange iso = UCameraRange.unsupported,
- UCameraRange exposureDuration = UCameraRange.unsupported,
- UCameraRange focusDistance = UCameraRange.unsupported,
- UCameraRange temperature = UCameraRange.unsupported,
- bool focusPoint = false,
- bool exposurePoint = false,
- bool manualFocus = false,
- bool manualExposure = false,
- bool whiteBalance = false,
- List<
UStabilizationMode> stabilization = const <UStabilizationMode>[], - bool hdr = false,
- bool nightMode = false,
- bool rawCapture = false,
- bool depthCapture = false,
- bool videoRecording = false,
- bool pauseRecording = false,
- bool audioRecording = false,
- bool imageStream = false,
- bool platformScanning = false,
- bool multiCamera = false,
- bool pictureInPicture = false,
- bool lensSwitching = false,
- bool orientationLock = false,
- bool snapshot = false,
- List<
UVideoCodec> videoCodecs = const <UVideoCodec>[], - List<
UPhotoFormat> photoFormats = const <UPhotoFormat>[], - List<
UFrameFormat> frameFormats = const <UFrameFormat>[], - UCameraSize? maxPhotoSize,
- UCameraSize? maxVideoSize,
- double maxFps = 30,
Implementation
const UCameraCapabilities({
this.flash = false,
this.torch = false,
this.zoom = UCameraRange.unsupported,
this.exposureOffset = UCameraRange.unsupported,
this.iso = UCameraRange.unsupported,
this.exposureDuration = UCameraRange.unsupported,
this.focusDistance = UCameraRange.unsupported,
this.temperature = UCameraRange.unsupported,
this.focusPoint = false,
this.exposurePoint = false,
this.manualFocus = false,
this.manualExposure = false,
this.whiteBalance = false,
this.stabilization = const <UStabilizationMode>[],
this.hdr = false,
this.nightMode = false,
this.rawCapture = false,
this.depthCapture = false,
this.videoRecording = false,
this.pauseRecording = false,
this.audioRecording = false,
this.imageStream = false,
this.platformScanning = false,
this.multiCamera = false,
this.pictureInPicture = false,
this.lensSwitching = false,
this.orientationLock = false,
this.snapshot = false,
this.videoCodecs = const <UVideoCodec>[],
this.photoFormats = const <UPhotoFormat>[],
this.frameFormats = const <UFrameFormat>[],
this.maxPhotoSize,
this.maxVideoSize,
this.maxFps = 30,
});