Methods Summary |
---|
public void | disable()Disables the OrientationListener.
mOrientationEventLis.disable();
|
public void | enable()Enables the OrientationListener so it will monitor the sensor and call
{@link #onOrientationChanged} when the device orientation changes.
mOrientationEventLis.enable();
|
public void | onAccuracyChanged(int sensor, int accuracy)
|
public abstract void | onOrientationChanged(int orientation)Look at {@link android.view.OrientationEventListener#onOrientationChanged}
for method description and usage
|
public void | onSensorChanged(int sensor, float[] values)
// just ignore the call here onOrientationChanged is invoked anyway
|