OrientationListener.Enable OrientationListener.Enable Method

Definition

Enables the OrientationListener so it will monitor the sensor and call OnOrientationChanged(Int32) when the device orientation changes.

[Android.Runtime.Register("enable", "()V", "GetEnableHandler")]
public virtual void Enable ();
abstract member Enable : unit -> unit
override this.Enable : unit -> unit

Remarks

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