MotionState(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a new MotionState.
[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)]
public MotionState(int motionState);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)>]
new Android.Ranging.MotionState : int -> Android.Ranging.MotionState
Parameters
- motionState
- Int32
The motion state of the device. Must be one of #MOTION_NOT_DETECTED, #MOTION_SLIGHT, #MOTION_MODERATE, or #MOTION_LARGE.
- Attributes
Remarks
Constructs a new MotionState.
Android reference for android.ranging.MotionState.MotionState.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.