Stay organized with collections
Save and categorize content based on your preferences.
public final class ManifestFeature
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-07-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-30 UTC."],[],[],null,["# ManifestFeature\n===============\n\nAdded in 1.0.0-alpha05\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/xr/runtime/manifest/package-summary \"View this page in Kotlin\") \\|Java\n\n\n```\npublic final class ManifestFeature\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public fields |\n|---------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `static final @`[NonNull](/reference/androidx/annotation/NonNull)` `[String](https://developer.android.com/reference/java/lang/String.html) | [FEATURE_XR_API_OPENXR](/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_API_OPENXR()) Feature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports [OpenXR](\"https://www.khronos.org/openxr/\"). |\n| `static final @`[NonNull](/reference/androidx/annotation/NonNull)` `[String](https://developer.android.com/reference/java/lang/String.html) | [FEATURE_XR_API_SPATIAL](/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_API_SPATIAL()) Feature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports the Android XR Spatial APIs. |\n| `static final @`[NonNull](/reference/androidx/annotation/NonNull)` `[String](https://developer.android.com/reference/java/lang/String.html) | [FEATURE_XR_INPUT_CONTROLLER](/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_INPUT_CONTROLLER()) Feature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports XR input from XR controllers. |\n| `static final @`[NonNull](/reference/androidx/annotation/NonNull)` `[String](https://developer.android.com/reference/java/lang/String.html) | [FEATURE_XR_INPUT_EYE_TRACKING](/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_INPUT_EYE_TRACKING()) Feature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports XR input from the user's eye gaze. |\n| `static final @`[NonNull](/reference/androidx/annotation/NonNull)` `[String](https://developer.android.com/reference/java/lang/String.html) | [FEATURE_XR_INPUT_HAND_TRACKING](/reference/androidx/xr/runtime/manifest/ManifestFeature#FEATURE_XR_INPUT_HAND_TRACKING()) Feature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports XR input from the user's hands. |\n\nPublic fields\n-------------\n\n### FEATURE_XR_API_OPENXR\n\nArtifact: [androidx.xr.runtime:runtime-manifest](/jetpack/androidx/releases/xr-runtime) \n[View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_API_OPENXR) \nAdded in [1.0.0-alpha05](/jetpack/androidx/releases/xr-runtime#1.0.0-alpha05) \n\n```\npublic static final @NonNull String FEATURE_XR_API_OPENXR\n```\n\nFeature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.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:\n\n- Major version in bits 31-16\n\n- Minor version in bits 15-0\n\nThis is the same encoding as the top 32 bits of an `XrVersion`.\n\nExample: OpenXR 1.1 support is encoded as 0x00010001.\n\nConstant Value: \"android.software.xr.api.openxr\" \n\n### FEATURE_XR_API_SPATIAL\n\nArtifact: [androidx.xr.runtime:runtime-manifest](/jetpack/androidx/releases/xr-runtime) \n[View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_API_SPATIAL) \nAdded in [1.0.0-alpha05](/jetpack/androidx/releases/xr-runtime#1.0.0-alpha05) \n\n```\npublic static final @NonNull String FEATURE_XR_API_SPATIAL\n```\n\nFeature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.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.\n\nAlso see [Develop with the Android XR SDK](https://developer.android.com/develop/xr).\n\nConstant Value: \"android.software.xr.api.spatial\" \n\n### FEATURE_XR_INPUT_CONTROLLER\n\nArtifact: [androidx.xr.runtime:runtime-manifest](/jetpack/androidx/releases/xr-runtime) \n[View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_INPUT_CONTROLLER) \nAdded in [1.0.0-alpha05](/jetpack/androidx/releases/xr-runtime#1.0.0-alpha05) \n\n```\npublic static final @NonNull String FEATURE_XR_INPUT_CONTROLLER\n```\n\nFeature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports XR input from XR controllers.\n\nConstant Value: \"android.hardware.xr.input.controller\" \n\n### FEATURE_XR_INPUT_EYE_TRACKING\n\nArtifact: [androidx.xr.runtime:runtime-manifest](/jetpack/androidx/releases/xr-runtime) \n[View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_INPUT_EYE_TRACKING) \nAdded in [1.0.0-alpha05](/jetpack/androidx/releases/xr-runtime#1.0.0-alpha05) \n\n```\npublic static final @NonNull String FEATURE_XR_INPUT_EYE_TRACKING\n```\n\nFeature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports XR input from the user's eye gaze.\n\nConstant Value: \"android.hardware.xr.input.eye_tracking\" \n\n### FEATURE_XR_INPUT_HAND_TRACKING\n\nArtifact: [androidx.xr.runtime:runtime-manifest](/jetpack/androidx/releases/xr-runtime) \n[View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/manifest/ManifestFeature.kt+symbol:FEATURE_XR_INPUT_HAND_TRACKING) \nAdded in [1.0.0-alpha05](/jetpack/androidx/releases/xr-runtime#1.0.0-alpha05) \n\n```\npublic static final @NonNull String FEATURE_XR_INPUT_HAND_TRACKING\n```\n\nFeature for [android.content.pm.PackageManager.getSystemAvailableFeatures](https://developer.android.com/reference/android/content/pm/PackageManager.html#getSystemAvailableFeatures()) and [android.content.pm.PackageManager.hasSystemFeature](https://developer.android.com/reference/android/content/pm/PackageManager.html#hasSystemFeature(kotlin.String)): This device supports XR input from the user's hands.\n\nConstant Value: \"android.hardware.xr.input.hand_tracking\""]]