GazeInfo class

GazeInfo represents the data collected from gaze tracking events, providing detailed information about the user's gaze and related states.

This class includes the following properties:

  • gaze: The current gaze point on the screen, represented as coordinates (x, y).
  • fixation: The most recently detected fixation point, providing stable coordinates where the user's gaze was fixated.
  • trackingState: The state of the gaze tracking, indicating whether tracking is successful, lost, or in progress.
  • eyemovementState: Information about the user's eye movement, such as fixation or saccade.
  • screenState: Indicates whether the user's gaze is within the device screen boundaries or outside of it.

GazeInfo is essential for interpreting the user's gaze behavior and determining their interaction with the screen in real-time.

Constructors

GazeInfo(Map event)

Properties

eyemovementState EyemovementState
latefinal
fixation Point<double>
latefinal
gaze Point<double>
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenState ScreenState
latefinal
trackingState TrackingState
latefinal

Methods

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

Operators

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