ActivityIdentificationService class
Constructors
- ActivityIdentificationService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onActivityConversion
→ Stream<
ActivityConversionResponse> -
Listens for activity conversion updates that come from the
createActivityConversionUpdates method.
no setter
-
onActivityIdentification
→ Stream<
ActivityIdentificationResponse> -
Listens for activity identification updates that come from the
createActivityIdentificationUpdates method.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createActivityConversionUpdates(
List< ActivityConversionInfo> activityConversions) → Future<int> - Registers for activity conversion updates (entering and exit), for example, detecting user status change from walking to bicycling.
-
createActivityIdentificationUpdates(
int detectionIntervalMillis) → Future< int> - Registers for activity identification updates.
-
deleteActivityConversionUpdates(
int requestCode) → Future< void> - Removes activity conversion updates based on the specified request code.
-
deleteActivityIdentificationUpdates(
int requestCode) → Future< void> - Removes activity identification updates based on the specified request code.
-
initActivityIdentificationService(
) → Future< void> -
Initializes the
Activity Identification
service. -
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