UserStatusInfo class
UserStatusInfo provides information about the user's status, such as drowsiness and attention level, based on gaze and eye tracking data.
This class includes the following properties:
- isDrowsy: A boolean value indicating whether the user is detected as drowsy.
- drowsinessIntensity: A double value (0.0 to 1.0) representing the intensity of drowsiness, where 0.0 indicates no drowsiness and 1.0 indicates extreme drowsiness.
- attentionScore: A double value (0.0 to 1.0) representing the user's attention level, where 0.0 means no attention and 1.0 means full attention.
UserStatusInfo is useful for monitoring the user's state in real-time, helping to detect signs of drowsiness and measure attention levels during interactions.
Constructors
- UserStatusInfo(Map event)
Properties
- attentionScore ↔ double
-
latefinal
- drowsinessIntensity ↔ double
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDrowsy ↔ bool
-
latefinal
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited