custom_activity_recognition 0.0.3 custom_activity_recognition: ^0.0.3 copied to clipboard
This plugin is used to recognize user activity transition on Android and iOS platforms.
custom_activity_recognition #
Activity recognition plugin for Android and iOS
Notes #
- On Android use Activity Recognition Transition API
- On iOS use CoreMotion
ActivityData #
class ActivityData {
final DateTime timestamp;
final String activity;
}
Types of activities #
Android:
- IN_VEHICLE
- ON_BICYCLE
- RUNNING
- ON_FOOT
- WALKING
- STILL
- UNKNOWN
iOS:
- IN_VEHICLE
- ON_BICYCLE
- RUNNING
- WALKING
- STILL
- UNKNOWN