Android Guides | Samples

Android.Views.OrientationListener Class

Helper class for receiving notifications from the SensorManager when the orientation of the device has changed.

See Also: OrientationListener

Syntax

[Android.Runtime.Register("android/view/OrientationListener", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public abstract class OrientationListener : Object, ISensorListener, IDisposable

Remarks

Helper class for receiving notifications from the SensorManager when the orientation of the device has changed.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1Deprecated since API level 3