android.view
Class OrientationListener

java.lang.Object
  extended by android.view.OrientationListener
All Implemented Interfaces:
SensorListener

Deprecated.

@Deprecated
public abstract class OrientationListener
extends Object
implements SensorListener


Field Summary
static int ORIENTATION_UNKNOWN
          Deprecated.  
 
Constructor Summary
OrientationListener(Context context)
          Deprecated.  
OrientationListener(Context context, int rate)
          Deprecated.  
 
Method Summary
 void disable()
          Deprecated.  
 void enable()
          Deprecated.  
 void onAccuracyChanged(int sensor, int accuracy)
          Deprecated.  
abstract  void onOrientationChanged(int orientation)
          Deprecated.  
 void onSensorChanged(int sensor, float[] values)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORIENTATION_UNKNOWN

public static final int ORIENTATION_UNKNOWN
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

OrientationListener

public OrientationListener(Context context)
Deprecated. 

OrientationListener

public OrientationListener(Context context,
                           int rate)
Deprecated. 
Method Detail

enable

public void enable()
Deprecated. 

disable

public void disable()
Deprecated. 

onAccuracyChanged

public void onAccuracyChanged(int sensor,
                              int accuracy)
Deprecated. 
Specified by:
onAccuracyChanged in interface SensorListener

onSensorChanged

public void onSensorChanged(int sensor,
                            float[] values)
Deprecated. 
Specified by:
onSensorChanged in interface SensorListener

onOrientationChanged

public abstract void onOrientationChanged(int orientation)
Deprecated. 


Copyright © 2008-2012. All Rights Reserved.