GemCameraPlayerStatus enum Sensor Data Source
Playback status for a camera player controller.
Describes the current state of a GemCameraPlayerController, indicating whether the player is loading, playing, paused, ended, or in an error state. Not to be confused with PlayingStatus from the sensor engine, which controls the underlying data source playback.
See also:
- GemCameraPlayerController - Uses this enum to track playback state
- PlayingStatus - Sensor engine playback status (different from this enum)
Values
- loading → const GemCameraPlayerStatus
-
The player is awaiting the first camera frame data.
Initial state when the controller is created and waiting for the first frame to arrive from the data source.
- error → const GemCameraPlayerStatus
-
The camera frames cannot be converted to RGBA8888 format.
Error state indicating that the data source does not provide camera data in a format compatible with the player's RGBA8888 rendering pipeline.
- playing → const GemCameraPlayerStatus
-
The player is actively playing camera feed frames.
The player is receiving and rendering camera frames as they arrive from the data source.
- paused → const GemCameraPlayerStatus
-
The player is paused and not rendering new frames.
The player has been paused by calling GemCameraPlayerController.pause and will not render new frames until resumed.
- ended → const GemCameraPlayerStatus
-
The data source has ended playback.
Final state indicating that the data source has stopped providing camera data, typically when playing back recorded data that has reached the end.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Constants
-
values
→ const List<
GemCameraPlayerStatus> - A constant List of the values in this enum, in order of their declaration.