ImageCaptureOutput class

Implementation of intf.ImageCaptureOutput using iOS AVFoundation API.

Constructors

ImageCaptureOutput()

Properties

capturePhotoOutput CapturePhotoOutput
Handles capturing photos when added to a CaptureSession.
getter/setter pair
flashMode int?
The CaptureFlashMode used when setFlashMode is called.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nextPhotoSettings CapturePhotoSettings
The CapturePhotoSettings to be used when takePicture is called.
getter/setter pair
photoCaptureDelegate CapturePhotoCaptureDelegate
Callback delegate when a photo is taken with capturePhotoOutput.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach(covariant CameraController controller) Future<void>
Called when an output should be attached to a CameraController.
detach(covariant CameraController controller) Future<void>
Called when an output should be detached from a CameraController.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outputSize() Future<Size?>
The size in pixels retrieved by the output.
override
setFlashMode(FlashMode mode) Future<void>
Set the flash mode when taking images.
override
setRotation(OutputRotation rotation) Future<void>
Set the rotation of the output relative to the natural orientation of the device.
override
supportedFlashModes() Future<List<FlashMode>>
The supported FlashModes for the attached camera device.
override
takePicture(ImageCallback callback) Future<void>
Take a picture and return the bytes in callback.
override
toString() String
A string representation of this object.
inherited
verifyAttached() → void
Throws an AssertionError if this CameraOutput has not been attached to a CameraController.
inherited

Operators

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