OrientationEventListener コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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 を作成します。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。
適用対象
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 を作成します。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。
適用対象
OrientationEventListener(IntPtr, JniHandleOwnership)
JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。
protected OrientationEventListener (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.OrientationEventListener : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.OrientationEventListener
パラメーター
- transfer
- JniHandleOwnership
処理方法を示す 。JniHandleOwnershipjavaReference
注釈
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。