OrientationListener コンストラクター

定義

オーバーロード

OrientationListener(Context)
古い.

新しい OrientationListener を作成します。

OrientationListener(Context, SensorDelay)
古い.

新しい OrientationListener を作成します。

OrientationListener(IntPtr, JniHandleOwnership)

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

OrientationListener(Context)

注意事項

deprecated

新しい OrientationListener を作成します。

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

パラメーター

context
Context

OrientationListener の場合は 。

属性

注釈

新しい OrientationListener を作成します。

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

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

適用対象

OrientationListener(Context, SensorDelay)

注意事項

deprecated

新しい OrientationListener を作成します。

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

パラメーター

context
Context

OrientationListener の場合は 。

rate
SensorDelay

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

属性

注釈

新しい OrientationListener を作成します。

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

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

適用対象

OrientationListener(IntPtr, JniHandleOwnership)

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

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

パラメーター

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

処理方法を示す 。JniHandleOwnershipjavaReference

注釈

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

適用対象