public class Orientation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Orientation.SensorCallBack
call back
|
Constructor and Description |
---|
Orientation(android.content.Context ctx,
Orientation.SensorCallBack callback)
init the orientation sensor
|
Modifier and Type | Method and Description |
---|---|
void |
start()
start to store information
|
void |
stop()
stop trasking orientation
|
public Orientation(android.content.Context ctx, Orientation.SensorCallBack callback)
ctx
- contextcallback
- callback