GazeInfo class

A class representing gaze information obtained from a gaze event.

Inheritance

Constructors

GazeInfo(Map event)
Creates a GazeInfo instance using the provided gaze event event.

Properties

eyeMovementState EyeMovementState
The state of eye movement.
getter/setter pair
fixationX double
The X-coordinate of the last fixation position on the screen in pixels.
getter/setter pair
fixationY double
The Y-coordinate of the last fixation position on the screen in pixels.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
leftOpenness double
The degree of openness of the left eye (applicable when blink detection is enabled).
getter/setter pair
rightOpenness double
The degree of openness of the right eye (applicable when blink detection is enabled).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenState ScreenState
The state of gaze position in relation to the screen.
getter/setter pair
timestamp int
The timestamp in milliseconds when the gaze event occurred.
getter/setter pair
trackingState TrackingState
The state of gaze tracking.
getter/setter pair
x double
The X-coordinate of the gaze position on the screen in pixels.
getter/setter pair
y double
The Y-coordinate of the gaze position on the screen in pixels.
getter/setter pair

Methods

checkKeyExists(Map event, String key) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFixationGaze(double fixationX, double fixationY) → void
This is a function that modifies the fixationX and fixationY values of GazeInfo
setGaze(double x, double y) → void
This is a function that modifies the x and y values of GazeInfo
toString() String
A string representation of this object.
inherited

Operators

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