type property
Type of activity recognized.
Possible types of activities are:
- IN_VEHICLE - The device is in a vehicle, such as a car.
- ON_BICYCLE - The device is on a bicycle.
- WALKING - The device is on a user who is walking.
- RUNNING - The device is on a user who is running.
- STILL - The device is still (not moving).
The types above are adopted from the Android activity recognition API. On iOS the following mapping takes place:
- stationary => STILL
- walking => WALKING
- running => RUNNING
- automotive => IN_VEHICLE
- cycling => ON_BICYCLE
Note that the ActivityProbe discard some AR events, which include:
- UNKNOWN - when the activity cannot be recognized
- TILTING - when the phone is tilted (only on Android)
- Activities with a low confidence level (<50%)
Implementation
ActivityType type;