ActivityIdentificationData class

Constructors

ActivityIdentificationData({int? identificationActivity, int? possibility})
ActivityIdentificationData.fromJson(String source)
factory
ActivityIdentificationData.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
identificationActivity int?
Type of the detected activity.
getter/setter pair
possibility int?
Confidence for the user to execute the activity.
getter/setter pair
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
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

isValidType(int type) bool

Constants

BIKE → const int
The device is on a bicycle.
The device user is walking or running.
OTHERS → const int
The current activity cannot be identified.
RUNNING → const int
The device user is running. This is a sub activity of the FOOT activity.
STILL → const int
The device is still.
TILTING → const int
The device has an obvious tilt change.
VEHICLE → const int
The device is in a vehicle, such as a car.
WALKING → const int
The device user is walking. This is a sub activity of the FOOT activity.