TrackingState enum

TrackingState represents the different states that the tracking system can be in during gaze and face tracking.

This enum includes the following states:

  • success: The tracking is successful, and the gaze is detected correctly.
  • gazeNotFound: The tracking system is active, but the gaze could not be detected.
  • faceMissing: The tracking system cannot detect the face, making gaze tracking impossible.

Use TrackingState to check the status of the tracking system and respond accordingly based on whether the gaze or face is detected.

Inheritance
Available extensions

Values

success → const TrackingState
gazeNotFound → const TrackingState
faceMissing → const TrackingState

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<TrackingState>
A constant List of the values in this enum, in order of their declaration.