Class OrientationEventListenerDelegate
Inheritance
System.Object
OrientationEventListenerDelegate
Namespace: FM.LiveSwitch.Android
Assembly: FM.LiveSwitch.Android.dll
Syntax
public class OrientationEventListenerDelegate : OrientationEventListener
Constructors
OrientationEventListenerDelegate(Context, Android.Hardware.SensorDelay, Action<Int32>)
Declaration
public OrientationEventListenerDelegate(Context context, Android.Hardware.SensorDelay delay, Action<int> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| Context | context | |
| Android.Hardware.SensorDelay | delay | |
| System.Action<System.Int32> | callback |
Methods
OnOrientationChanged(Int32)
Declaration
public override void OnOrientationChanged(int orientation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | orientation |