public class Pedometer
extends java.lang.Object
This class represents the step counter(pedometer) sensor value. It can be used to dispatch the sensor updates to the creative.
| Constructor and Description |
|---|
Pedometer(float step,
int watchID)
Constructs a new instance of sensor object with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getStep() |
int |
getWatchID() |