InputDevice.GetMotionRange メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetMotionRange(Axis) |
特定の |
| GetMotionRange(Int32) |
古い.
すべての入力ソースで、指定した軸のモーション範囲を取得します。 |
| GetMotionRange(Axis, InputSourceType) |
特定の |
GetMotionRange(Axis)
特定の MotionEvent 軸の値の範囲に関する情報を取得します。
[Android.Runtime.Register("getMotionRange", "(I)Landroid/view/InputDevice$MotionRange;", "")]
public Android.Views.InputDevice.MotionRange? GetMotionRange(Android.Views.Axis axis);
[<Android.Runtime.Register("getMotionRange", "(I)Landroid/view/InputDevice$MotionRange;", "")>]
member this.GetMotionRange : Android.Views.Axis -> Android.Views.InputDevice.MotionRange
パラメーター
- axis
- Axis
軸定数。
返品
値の範囲。要求された軸がデバイスでサポートされていない場合は null。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
GetMotionRange(Int32)
注意事項
Please use GetMotionRange(Android.Views.Axis)
すべての入力ソースで、指定した軸のモーション範囲を取得します。
[System.Obsolete("Please use GetMotionRange(Android.Views.Axis)")]
public Android.Views.InputDevice.MotionRange? GetMotionRange(int rangeType);
[<System.Obsolete("Please use GetMotionRange(Android.Views.Axis)")>]
member this.GetMotionRange : int -> Android.Views.InputDevice.MotionRange
パラメーター
- rangeType
- Int32
範囲型に使用される System.Int32 値。
返品
モーション範囲取得操作の結果。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
GetMotionRange(Axis, InputSourceType)
特定の MotionEvent 軸の値の範囲に関する情報を取得します。
[Android.Runtime.Register("getMotionRange", "(II)Landroid/view/InputDevice$MotionRange;", "")]
public Android.Views.InputDevice.MotionRange? GetMotionRange(Android.Views.Axis axis, Android.Views.InputSourceType source);
[<Android.Runtime.Register("getMotionRange", "(II)Landroid/view/InputDevice$MotionRange;", "")>]
member this.GetMotionRange : Android.Views.Axis * Android.Views.InputSourceType -> Android.Views.InputDevice.MotionRange
パラメーター
- axis
- Axis
軸定数。
- source
- InputSourceType
情報を返すソース。
返品
値の範囲。要求された軸がデバイスでサポートされていない場合は null。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。