MotionState.GetMotionState メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
デバイスのモーション状態を返します。
[Android.Runtime.Register("getMotionState", "()I", "", ApiSince=37)]
public int GetMotionState();
[<Android.Runtime.Register("getMotionState", "()I", "", ApiSince=37)>]
member this.GetMotionState : unit -> int
返品
#MOTION_NOT_DETECTED、#MOTION_SLIGHT、#MOTION_MODERATE、または#MOTION_LARGEのいずれかであるモーション状態。
- 属性
注釈
デバイスのモーション状態を返します。
android.ranging.MotionState.getMotionStateの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。