public static class SmotionActivityNotification.InfoFilter
extends java.lang.Object
Constructor and Description |
---|
SmotionActivityNotification.InfoFilter()
Creates an InfoFilter instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addActivity(int activity_type)
Add a new activity notification action.
|
public SmotionActivityNotification.InfoFilter()
java.lang.IllegalStateException
- Thrown if the device does not support
SmotionActivityNotification or if the
SmotionActivityNotification instance was not created.public void addActivity(int activity_type)
activity_type
- The activity type. The valid values are:
STATUS_STATIONARY STATUS_WALK STATUS_RUN
STATUS_VEHICLEjava.lang.IllegalArgumentException
- Thrown if the type passed is not
valid.