CameraController class abstract interface

Implementers

Constructors

CameraController.new()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
torchStateChanged Stream<TorchState>
no setter
zoomStateChanged Stream<ZoomState>
no setter

Methods

bind() Future<void>
clearImageAnalysisAnalyzer() Future<void>
enableTorch(bool enabled) Future<void>
getCameraControl() Future<CameraControl?>
getCameraInfo() Future<CameraInfo?>
getCameraSelector() Future<CameraSelector>
getImageAnalysisBackpressureStrategy() Future<BackpressureStrategy>
getImageAnalysisImageQueueDepth() Future<int>
getImageAnalysisOutputImageFormat() Future<ImageFormat>
getImageAnalysisResolutionSelector() Future<ResolutionSelector?>
getImageCaptureFlashMode() Future<FlashMode>
getImageCaptureMode() Future<CaptureMode>
getImageCaptureResolutionSelector() Future<ResolutionSelector?>
getPreviewResolutionSelector() Future<ResolutionSelector?>
getTorchState() Future<TorchState?>
getVideoCaptureDynamicRange() Future<DynamicRange>
getVideoCaptureMirrorMode() Future<MirrorMode>
getVideoCaptureQualitySelector() Future<QualitySelector>
getVideoCaptureTargetFrameRate() Future<Range<int>>
getZoomState() Future<ZoomState?>
hasCamera(CameraSelector cameraSelector) Future<bool>
initialize() Future<void>
isImageAnalysisEnabled() Future<bool>
isImageCaptureEnabled() Future<bool>
isPinchToZoomEnabled() Future<bool>
isRecording() Future<bool>
isTapToFocusEnabled() Future<bool>
isVideoCaptureEnabled() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCameraSelector(CameraSelector cameraSelector) Future<void>
setEnabledUseCases(List<UseCase> useCases) Future<void>
setImageAnalysisAnalyzer(Analyzer analyzer) Future<void>
setImageAnalysisBackpressureStrategy(BackpressureStrategy strategy) Future<void>
setImageAnalysisImageQueueDepth(int depth) Future<void>
setImageAnalysisOutputImageFormat(ImageFormat format) Future<void>
setImageAnalysisResolutionSelector(ResolutionSelector? resolutionSelector) Future<void>
setImageCaptureFlashMode(FlashMode flashMode) Future<void>
setImageCaptureMode(CaptureMode captureMode) Future<void>
setImageCaptureResolutionSelector(ResolutionSelector? resolutionSelector) Future<void>
setLinearZoom(double linearZoom) Future<void>
setPinchToZoomEnabled(bool enabled) Future<void>
setPreviewResolutionSelector(ResolutionSelector? resolutionSelector) Future<void>
setTapToFocusEnabled(bool enabled) Future<void>
setVideoCaptureDynamicRange(DynamicRange dynamicRange) Future<void>
setVideoCaptureMirrorMode(MirrorMode mirrorMode) Future<void>
setVideoCaptureQualitySelector(QualitySelector qualitySelector) Future<void>
setVideoCaptureTargetFrameRate(Range<int> targetFrameRate) Future<void>
setZoomRatio(double zoomRatio) Future<void>
startRecording(FileOutputOptions outputOptions, {required AudioConfig audioConfig, required VideoRecordEventConsumer listener}) Future<Recording>
takePictureToFile(OutputFileOptions outputFileOptions, {CaptureStartedCallback? onCaptureStarted, CaptureProcessProgressedCallback? onCaptureProcessProgressed, PostviewBitmapAvailableCallback? onPostviewBitmapAvailable, ImageSavedCallback? onImageSaved, CaptureErrorCallback? onError}) Future<void>
takePictureToMemory({CaptureStartedCallback? onCaptureStarted, CaptureProcessProgressedCallback? onCaptureProcessProgressed, PostviewBitmapAvailableCallback? onPostviewBitmapAvailable, CaptureSuccessCallback? onCaptureSuccess, CaptureErrorCallback? onError}) Future<void>
toString() String
A string representation of this object.
inherited
unbind() Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited