言語

MotionState.GetMotionState メソッド

定義

デバイスのモーション状態を返します。

[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 リファレンス。

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

適用対象