VideoCaptureOptions class Null safety

Options wrapper for CameraPlatform.startVideoCapturing parameters.

Annotations

Constructors

VideoCaptureOptions(int cameraId, {Duration? maxDuration, dynamic streamCallback(CameraImageData image)?, CameraImageStreamOptions? streamOptions})
Constructs a new instance.
const

Properties

cameraId int
The ID of the camera to use for capturing.
final
hashCode int
The hash code for this object.
read-onlyoverride
maxDuration Duration?
The maximum time to perform capturing for.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
streamCallback → (dynamic Function(CameraImageData image)?)
An optional callback to enable streaming.
final
streamOptions CameraImageStreamOptions?
Configuration options for streaming.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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