OrientationListener コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
パラメーター
- transfer
- JniHandleOwnership
処理方法を示す 。JniHandleOwnershipjavaReference
注釈
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。