VideoCaptureOutput class

Implementation of intf.VideoCaptureOutput using Android Camera1 API.

Mixed in types

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
includeAudio bool
Whether MediaRecorder should include audio settings.
final
mediaRecorder MediaRecorder
Handles recording video and audio for a Camera.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specifiedSize CameraSize?
Output size in pixels specified by the user.
getter/setter pair

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
updatePreset(CameraControllerPreset preset) Future<void>
Called when a CameraController has changed CameraControllerPresets.
override
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