Language

MotionState.GetMotionState メソッド

定義

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

[Android.Runtime.Register("getMotionState", "()I", "", ApiSince=37)]
public int GetMotionState();
[<Android.Runtime.Register("getMotionState", "()I", "", ApiSince=37)>]
member this.GetMotionState : unit -> int

戻り値

モーション状態。これは、NotDetected、Slight、Moderate、またはLargeのint値です。

属性

注釈

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

android.ranging.MotionState.getMotionStateの Android リファレンス。

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

適用対象