Tizen Wearable enables you to access the motion data of a wearable device using the Motion API.
The main features of the Motion API include:
- Activating and deactivating motion change notifications
When the notifications are no longer needed, you can unregister the listener by using the stop() method of the Motion interface.
- Retrieving current motion data
You can retrieve the current motion data using the getMotionInfo() method of the Motion interface.
The following table lists the supported motion types.
|PEDOMETER||Provides pedometer information, such as current step status, cumulative distance, calories burned and total step count.|
|WRIST_UP||Provides a notification when the user lifts a wrist to look at the watch device.|