GemCameraPlayerValue class Sensor Data Source

Immutable value representing the state of a GemCameraPlayerController.

Contains the current DataSource, playback status, and optionally the latest Camera frame and its associated listener.

Constructors

GemCameraPlayerValue.new({required DataSource dataSource, required GemCameraPlayerStatus status, Camera? camera, DataSourceListener? listener})
Constructor for GemCameraPlayerValue.

Properties

camera Camera?
The associated camera instance.
final
dataSource DataSource
The input source of the camera stream.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status GemCameraPlayerStatus
The current operational status of the camera player.
final

Methods

copyWith({DataSource? dataSource, GemCameraPlayerStatus? status, Camera? camera, DataSourceListener? listener}) GemCameraPlayerValue
Returns a new GemCameraPlayerValue with updated values. Any field not provided retains its current value.
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.
inherited