Activity class
Device motion-activity when this Location
was recorded.
BackgroundGeolocation.onLocation((Location location) {
activityType = location.activity.type;
int confidence = location.activity.confidence;
print("[onLocation] Motion activity, type: $activityType, confidence: $confidence");
});
Constructors
- Activity(dynamic activity)
Properties
- confidence ↔ int
-
Confidence of the reported device motion activity in %.
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
- type ↔ String
-
The reported device motion activity.
getter/setter pair
Methods
-
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