ActivityEvent class

Represents an activity event detected on the phone.

Constructors

ActivityEvent(ActivityType type, int confidence)
ActivityEvent.fromString(String string)
Create an ActivityEvent based on the string format type,confidence.
factory
ActivityEvent.unknown()
factory

Properties

confidence int
The confidence of the dection in percentage.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeStamp DateTime
The timestamp when detected.
getter/setter pair
type ActivityType
The type of activity.
getter/setter pair
typeString String
The type of activity as a String.
no setter

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