UserStatusInfo class
A class that represents user status information events, converting raw event data from a UserStatusEvent into a user-friendly object format.
Constructors
- UserStatusInfo.new(Map event)
- Creates a UserStatusInfo instance using the provided event data.
Properties
- attentionScore ↔ double?
-
The attention score of the user, ranging from 0.0 to 1.0, when applicable.
getter/setter pair
- drowsinessIntensity ↔ double?
-
The intensity of drowsiness, ranging from 0.0 to 1.0, when applicable.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBlink ↔ bool?
-
Indicates whether both eyes are blinked, when applicable.
getter/setter pair
- isBlinkLeft ↔ bool?
-
Indicates whether the left eye is blinked, when applicable.
getter/setter pair
- isBlinkRight ↔ bool?
-
Indicates whether the right eye is blinked, when applicable.
getter/setter pair
- isDrowsiness ↔ bool?
-
Indicates whether drowsiness is detected, when applicable.
getter/setter pair
- leftOpenness ↔ double?
-
The openness score of the left eye, ranging from 0.0 to 1.0, when applicable.
getter/setter pair
- rightOpenness ↔ double?
-
The openness score of the right eye, ranging from 0.0 to 1.0, when applicable.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ int?
-
The timestamp when the user status event occurred.
getter/setter pair
- timestampBegin ↔ int?
-
The beginning timestamp of the event, in milliseconds, when applicable.
getter/setter pair
- timestampEnd ↔ int?
-
The ending timestamp of the event, in milliseconds, when applicable.
getter/setter pair
- type ↔ UserStatusEventType
-
The type of the user status event, indicating the specific type of tracking being performed.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited