# ManifestFeature

Added in 1.0.0

*** ** * ** ***


```
public final class ManifestFeature
```

<br />

*** ** * ** ***

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_API_OPENXR()` Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports [OpenXR]("https://www.khronos.org/openxr/"). |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_API_SPATIAL()` Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports the Android XR Spatial APIs. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_INPUT_CONTROLLER()` Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports XR input from XR controllers. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_INPUT_EYE_TRACKING()` Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports XR input from the user's eye gaze. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_INPUT_HAND_TRACKING()` Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports XR input from the user's hands. |

## Public fields

### FEATURE_XR_API_OPENXR

Artifact: [androidx.xr.runtime:runtime-manifest](https://developer.android.com/jetpack/androidx/releases/xr-runtime) [View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_API_OPENXR) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String FEATURE_XR_API_OPENXR
```

Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports [OpenXR]("https://www.khronos.org/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

Artifact: [androidx.xr.runtime:runtime-manifest](https://developer.android.com/jetpack/androidx/releases/xr-runtime) [View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_API_SPATIAL) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String FEATURE_XR_API_SPATIAL
```

Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: 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](https://developer.android.com/develop/xr).

Constant Value: "android.software.xr.api.spatial"

### FEATURE_XR_INPUT_CONTROLLER

Artifact: [androidx.xr.runtime:runtime-manifest](https://developer.android.com/jetpack/androidx/releases/xr-runtime) [View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_INPUT_CONTROLLER) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String FEATURE_XR_INPUT_CONTROLLER
```

Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports XR input from XR controllers.

Constant Value: "android.hardware.xr.input.controller"

### FEATURE_XR_INPUT_EYE_TRACKING

Artifact: [androidx.xr.runtime:runtime-manifest](https://developer.android.com/jetpack/androidx/releases/xr-runtime) [View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_INPUT_EYE_TRACKING) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String FEATURE_XR_INPUT_EYE_TRACKING
```

Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports XR input from the user's eye gaze.

Constant Value: "android.hardware.xr.input.eye_tracking"

### FEATURE_XR_INPUT_HAND_TRACKING

Artifact: [androidx.xr.runtime:runtime-manifest](https://developer.android.com/jetpack/androidx/releases/xr-runtime) [View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_INPUT_HAND_TRACKING) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String FEATURE_XR_INPUT_HAND_TRACKING
```

Feature for `https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()` and `https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String)`: This device supports XR input from the user's hands.

Constant Value: "android.hardware.xr.input.hand_tracking"