Language

SensorStatus Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum SensorStatus
type SensorStatus = 
Inheritance
SensorStatus

Fields

Name Value Description
NoContact -1

The values returned by this sensor cannot be trusted because the sensor had no contact with what it was measuring (for example, the heart rate monitor is not in contact with the user).

Android reference for android.hardware.SensorManager.SENSOR_STATUS_NO_CONTACT.

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.

Unreliable 0

The values returned by this sensor cannot be trusted, calibration is needed or the environment doesn't allow readings

Android reference for android.hardware.SensorManager.SENSOR_STATUS_UNRELIABLE.

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.

AccuracyLow 1

This sensor is reporting data with low accuracy, calibration with the environment is needed

Android reference for android.hardware.SensorManager.SENSOR_STATUS_ACCURACY_LOW.

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.

AccuracyMedium 2

This sensor is reporting data with an average level of accuracy, calibration with the environment may improve the readings

Android reference for android.hardware.SensorManager.SENSOR_STATUS_ACCURACY_MEDIUM.

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.

AccuracyHigh 3

This sensor is reporting data with maximum accuracy

Android reference for android.hardware.SensorManager.SENSOR_STATUS_ACCURACY_HIGH.

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

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.

Applies to