ManifestFeature
public final class ManifestFeature
Summary
Public fields
FEATURE_XR_API_OPENXR
public static final @NonNull String FEATURE_XR_API_OPENXR
Feature for android.content.pm.PackageManager.getSystemAvailableFeatures
and android.content.pm.PackageManager.hasSystemFeature
: This device supports OpenXR. The feature version indicates the highest version of OpenXR supported by the device using the following encoding:
-
Major version in bits 31-16
-
Minor version in bits 15-0
This is the same encoding as the top 32 bits of an XrVersion
.
Example: OpenXR 1.1 support is encoded as 0x00010001.
Constant Value: "android.software.xr.api.openxr"
FEATURE_XR_API_SPATIAL
public static final @NonNull String FEATURE_XR_API_SPATIAL
Feature for android.content.pm.PackageManager.getSystemAvailableFeatures
and android.content.pm.PackageManager.hasSystemFeature
: This device supports the Android XR Spatial APIs. The feature version indicates the highest version of the Android XR Spatial APIs supported by the device.
Also see Develop with the Android XR SDK.
Constant Value: "android.software.xr.api.spatial"
FEATURE_XR_INPUT_CONTROLLER
public static final @NonNull String FEATURE_XR_INPUT_CONTROLLER
Feature for android.content.pm.PackageManager.getSystemAvailableFeatures
and android.content.pm.PackageManager.hasSystemFeature
: This device supports XR input from XR controllers.
Constant Value: "android.hardware.xr.input.controller"
FEATURE_XR_INPUT_EYE_TRACKING
public static final @NonNull String FEATURE_XR_INPUT_EYE_TRACKING
Feature for android.content.pm.PackageManager.getSystemAvailableFeatures
and android.content.pm.PackageManager.hasSystemFeature
: This device supports XR input from the user's eye gaze.
Constant Value: "android.hardware.xr.input.eye_tracking"
FEATURE_XR_INPUT_HAND_TRACKING
public static final @NonNull String FEATURE_XR_INPUT_HAND_TRACKING
Feature for android.content.pm.PackageManager.getSystemAvailableFeatures
and android.content.pm.PackageManager.hasSystemFeature
: This device supports XR input from the user's hands.
Constant Value: "android.hardware.xr.input.hand_tracking"