OrientationEventListener.OrientationUnknown Field

Definition

Returned from onOrientationChanged when the device orientation cannot be determined (typically when the device is in a close to flat position).

[Android.Runtime.Register("ORIENTATION_UNKNOWN")]
public const int OrientationUnknown = -1;
[<Android.Runtime.Register("ORIENTATION_UNKNOWN")>]
val mutable OrientationUnknown : int

Field Value

Value = -1
Attributes

Remarks

Returned from onOrientationChanged when the device orientation cannot be determined (typically when the device is in a close to flat position).

Java documentation for android.view.OrientationEventListener.ORIENTATION_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also