Language

RangingMotion Enum

Definition

Classifies detected motion by the amount of orientation change.

public enum RangingMotion
type RangingMotion = 
Inheritance
RangingMotion

Fields

Name Value Description
NotDetected 0

Motion was not detected (orientation change < 5°).

Android reference for android.ranging.MotionState.MOTION_NOT_DETECTED.

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.

Slight 1

Slight motion was detected (orientation change between 5° and 7°).

Android reference for android.ranging.MotionState.MOTION_SLIGHT.

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.

Moderate 2

Moderate motion was detected (orientation change between 7° and 10°).

Android reference for android.ranging.MotionState.MOTION_MODERATE.

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.

Large 3

Large motion was detected (orientation change >= 10°).

Android reference for android.ranging.MotionState.MOTION_LARGE.

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.

Remarks

The values correspond to the motion constants in MotionState and distinguish no detected motion from slight, moderate, and large motion. They describe measured motion rather than an anchor's expected movement.

Applies to