OrientationEventListener コンストラクター

定義

オーバーロード

OrientationEventListener(Context)

新しい OrientationEventListener を作成します。

OrientationEventListener(Context, SensorDelay)

新しい OrientationEventListener を作成します。

OrientationEventListener(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

OrientationEventListener(Context)

新しい OrientationEventListener を作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public OrientationEventListener (Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Views.OrientationEventListener : Android.Content.Context -> Android.Views.OrientationEventListener

パラメーター

context
Context

OrientationEventListener の場合は 。

属性

注釈

新しい OrientationEventListener を作成します。

android.view.OrientationEventListener.OrientationEventListener(android.content.Context)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

OrientationEventListener(Context, SensorDelay)

新しい OrientationEventListener を作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")]
public OrientationEventListener (Android.Content.Context? context, Android.Hardware.SensorDelay rate);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")>]
new Android.Views.OrientationEventListener : Android.Content.Context * Android.Hardware.SensorDelay -> Android.Views.OrientationEventListener

パラメーター

context
Context

OrientationEventListener の場合は 。

rate
SensorDelay

センサー イベントが処理される位置 (「」も android.hardware.SensorManager SensorManager参照)。 単純な画面向きの変更検出には、 の android.hardware.SensorManager#SENSOR_DELAY_NORMAL SENSOR_DELAY_NORMAL 既定値を使用します。

属性

注釈

新しい OrientationEventListener を作成します。

android.view.OrientationEventListener.OrientationEventListener(android.content.Context, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

OrientationEventListener(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected OrientationEventListener (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.OrientationEventListener : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.OrientationEventListener

パラメーター

javaReference
IntPtr

nativeint

IntPtrJava ネイティブ インターフェイス (JNI) オブジェクト参照を含む 。

transfer
JniHandleOwnership

処理方法を示す 。JniHandleOwnershipjavaReference

注釈

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象