VideoCaptureOptions class
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.
no setteroverride
- maxDuration → Duration?
-
The maximum time to perform capturing for.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override