Language

RangingCapabilitiesStatus Enum

Definition

Indicates whether a ranging technology is available and, if not, why it is unavailable.

public enum RangingCapabilitiesStatus
type RangingCapabilitiesStatus = 
Inheritance
RangingCapabilitiesStatus

Fields

Name Value Description
NotSupported 0

Indicates that the ranging technology is not supported on the current device.

Android reference for android.ranging.RangingCapabilities.NOT_SUPPORTED.

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.

DisabledUser 1

Indicates that the ranging technology is disabled by the user.

Android reference for android.ranging.RangingCapabilities.DISABLED_USER.

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.

DisabledRegulatory 2

Indicates that the ranging technology is disabled due to regulatory restrictions.

Android reference for android.ranging.RangingCapabilities.DISABLED_REGULATORY.

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.

Enabled 3

Indicates that the ranging technology is enabled and available for use.

Android reference for android.ranging.RangingCapabilities.ENABLED.

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.

DisabledUserRestrictions 4

Indicates that the ranging technology is disabled due to device usage restrictions.

Android reference for android.ranging.RangingCapabilities.DISABLED_USER_RESTRICTIONS.

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 status distinguishes an unsupported technology from one disabled by the user, regulation, or device usage restrictions. Enabled indicates that the technology is available for use.

Applies to