VideoCaptureOutput class

Implementation of intf.VideoCaptureOutput using iOS AVFoundation API.

Constructors

VideoCaptureOutput({bool includeAudio = false})
Construct a VideoCaptureOutput.

Properties

hashCode int
The hash code for this object.
no setterinherited
includeAudio bool
Whether an audio device should be added to the CaptureSession in CameraController.
final
movieFileOutput CaptureMovieFileOutput
The CaptureOutput used to record video for a CaptureSession.
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
setRotation(OutputRotation rotation) Future<void>
Set the rotation of the output relative to the natural orientation of the device.
override
startRecording({required String fileOutput}) Future<void>
Begin recording to the specified fileOutput.
override
stopRecording() Future<void>
End recording the the file specified in startRecording.
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