FlutterActivityRecognition class
A class that provides an activity recognition API.
Properties
-
activityStream
→ Stream<
Activity> -
Gets the activity stream.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkPermission(
) → Future< PermissionRequestResult> - Check whether activity recognition permission is granted.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
) → Future< PermissionRequestResult> - Request activity recognition permission.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FlutterActivityRecognition
-
Instance of FlutterActivityRecognition.
final