# ManifestProperty

Added in 1.0.0

*** ** * ** ***


```
public final class ManifestProperty
```

<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/ManifestProperty#CATEGORY_XR_PROJECTED_LAUNCHER()` Intent category for displaying the activity in a projected XR launcher. |
| `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/ManifestProperty#DISPLAY_CATEGORY_XR_PROJECTED()` Activity level `https://developer.android.com/reference/android/content/pm/ActivityInfo.html#requiredDisplayCategory` to display on projected displays. |
| `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/ManifestProperty#PROPERTY_XR_ACTIVITY_START_MODE()` Application or Activity level `https://developer.android.com/reference/android/content/pm/PackageManager.Property.html` for launch mode in XR. |
| `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/ManifestProperty#PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED()` Application or Activity level `https://developer.android.com/reference/android/content/pm/PackageManager.Property.html` for recommended safety boundaries. |
| `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/ManifestProperty#PROPERTY_XR_USES_CUSTOM_FULL_SPACE_MANAGED_ANIMATION()` Application or Activity level `https://developer.android.com/reference/android/content/pm/PackageManager.Property.html` controlling default enter/exit animations. |
| `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/ManifestProperty#XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED()` Value to launch an activity in managed full space mode. |
| `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/ManifestProperty#XR_ACTIVITY_START_MODE_FULL_SPACE_UNMANAGED()` Value to launch an activity in unmanaged full space mode. |
| `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/ManifestProperty#XR_ACTIVITY_START_MODE_HOME_SPACE()` Value to launch an activity in [home space mode]("https://developer.android.com/develop/xr/jetpack-xr-sdk/transition-home-space-to-full-space") in XR. |
| `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/ManifestProperty#XR_ACTIVITY_START_MODE_UNDEFINED()` The default value if not specified. |
| `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/ManifestProperty#XR_BOUNDARY_TYPE_LARGE()` Value to launch an activity with a large boundary recommended. |
| `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/ManifestProperty#XR_BOUNDARY_TYPE_NO_RECOMMENDATION()` Value to launch an activity with no recommendations for the type of safety boundary. |

## Public fields

### CATEGORY_XR_PROJECTED_LAUNCHER

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/ManifestProperty.kt+symbol:CATEGORY_XR_PROJECTED_LAUNCHER) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String CATEGORY_XR_PROJECTED_LAUNCHER
```

Intent category for displaying the activity in a projected XR launcher.

**Syntax:**

```
<application>
<activity>
  <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.XR_PROJECTED_LAUNCHER" />
  </intent-filter>
</activity>
</application>
```

Constant Value: "android.intent.category.XR_PROJECTED_LAUNCHER"

### DISPLAY_CATEGORY_XR_PROJECTED

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/ManifestProperty.kt+symbol:DISPLAY_CATEGORY_XR_PROJECTED) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String DISPLAY_CATEGORY_XR_PROJECTED
```

Activity level `https://developer.android.com/reference/android/content/pm/ActivityInfo.html#requiredDisplayCategory` to display on projected displays.

**Syntax:**

```
<application>
<activity
  android:requiredDisplayCategory="android.hardware.display.category.XR_PROJECTED" />
</application>
```

Constant Value: "android.hardware.display.category.XR_PROJECTED"

### PROPERTY_XR_ACTIVITY_START_MODE

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/ManifestProperty.kt+symbol:PROPERTY_XR_ACTIVITY_START_MODE) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String PROPERTY_XR_ACTIVITY_START_MODE
```

Application or Activity level `https://developer.android.com/reference/android/content/pm/PackageManager.Property.html` for launch mode in XR. Declaring at application level sets all activities unless overridden at activity level.

The default value is `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_ACTIVITY_START_MODE_UNDEFINED()`.

The available values are:

- `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_ACTIVITY_START_MODE_FULL_SPACE_UNMANAGED()`

- `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED()`

- `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_ACTIVITY_START_MODE_HOME_SPACE()`

- `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_ACTIVITY_START_MODE_UNDEFINED()`

**Syntax:**

```
<application>
  <property
    android:name="android.window.PROPERTY_ACTIVITY_XR_START_MODE"
    android:value="XR_ACTIVITY_START_MODE_FULL_SPACE_UNMANAGED|
                   XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED|
                   XR_ACTIVITY_START_MODE_HOME_SPACE|
                   XR_ACTIVITY_START_MODE_UNDEFINED" />
</application>
```

Constant Value: "android.window.PROPERTY_XR_ACTIVITY_START_MODE"

### PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED

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/ManifestProperty.kt+symbol:PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED
```

Application or Activity level `https://developer.android.com/reference/android/content/pm/PackageManager.Property.html` for recommended safety boundaries. Declaring at application level sets all activities unless overridden at activity level. When not declared, the system uses the safety boundary currently in use.

The default value is `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_BOUNDARY_TYPE_NO_RECOMMENDATION()`.

The available values are:

- `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_BOUNDARY_TYPE_LARGE()`

- `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#XR_BOUNDARY_TYPE_NO_RECOMMENDATION()`

**Syntax:**

```
<application>
  <property
    android:name="android.window.PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED"
    android:value="XR_BOUNDARY_TYPE_LARGE|
                   XR_BOUNDARY_TYPE_NO_RECOMMENDATION" />
</application>
```

Constant Value: "android.window.PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED"

### PROPERTY_XR_USES_CUSTOM_FULL_SPACE_MANAGED_ANIMATION

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/ManifestProperty.kt+symbol:PROPERTY_XR_USES_CUSTOM_FULL_SPACE_MANAGED_ANIMATION) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String PROPERTY_XR_USES_CUSTOM_FULL_SPACE_MANAGED_ANIMATION
```

Application or Activity level `https://developer.android.com/reference/android/content/pm/PackageManager.Property.html` controlling default enter/exit animations. If `true`, the default animation is disabled, and the app plays a custom animation. Declaring at application level sets all activities unless overridden at activity level.

The default value is `false`.

**Syntax:**

```
<application>
  <property
    android:name="android.window.PROPERTY_XR_USES_CUSTOM_FULL_SPACE_MANAGED_ANIMATION"
    android:value="false|true"/>
</application>
```

Constant Value: "android.window.PROPERTY_XR_USES_CUSTOM_FULL_SPACE_MANAGED_ANIMATION"

### XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED

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/ManifestProperty.kt+symbol:XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED
```

Value to launch an activity in managed full space mode. The system renders the activity from a scene graph. See [managed full space mode]("https://developer.android.com/develop/xr/jetpack-xr-sdk/transition-home-space-to-full-space").

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#PROPERTY_XR_ACTIVITY_START_MODE()` | Constant Value: "XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED" |

### XR_ACTIVITY_START_MODE_FULL_SPACE_UNMANAGED

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/ManifestProperty.kt+symbol:XR_ACTIVITY_START_MODE_FULL_SPACE_UNMANAGED) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String XR_ACTIVITY_START_MODE_FULL_SPACE_UNMANAGED
```

Value to launch an activity in unmanaged full space mode. The activity itself renders the space and controls its own scene graph. Use this for all activities using OpenXR to render.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#PROPERTY_XR_ACTIVITY_START_MODE()` | Constant Value: "XR_ACTIVITY_START_MODE_FULL_SPACE_UNMANAGED" |

### XR_ACTIVITY_START_MODE_HOME_SPACE

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/ManifestProperty.kt+symbol:XR_ACTIVITY_START_MODE_HOME_SPACE) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String XR_ACTIVITY_START_MODE_HOME_SPACE
```

Value to launch an activity in [home space mode]("https://developer.android.com/develop/xr/jetpack-xr-sdk/transition-home-space-to-full-space") in XR.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#PROPERTY_XR_ACTIVITY_START_MODE()` | Constant Value: "XR_ACTIVITY_START_MODE_HOME_SPACE" |

### XR_ACTIVITY_START_MODE_UNDEFINED

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/ManifestProperty.kt+symbol:XR_ACTIVITY_START_MODE_UNDEFINED) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String XR_ACTIVITY_START_MODE_UNDEFINED
```

The default value if not specified. If used, the actual launching mode will be determined by the system based on the launching activity's current mode and the launching flags. When `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#PROPERTY_XR_ACTIVITY_START_MODE()` is used at the application level, apps can use this value to reset at individual activity level.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#PROPERTY_XR_ACTIVITY_START_MODE()` | Constant Value: "XR_ACTIVITY_START_MODE_UNDEFINED" |

### XR_BOUNDARY_TYPE_LARGE

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/ManifestProperty.kt+symbol:XR_BOUNDARY_TYPE_LARGE) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String XR_BOUNDARY_TYPE_LARGE
```

Value to launch an activity with a large boundary recommended. Useful for activities where users are expected to move around. The system will ask the user to use a larger size for their safety boundary and check that their space is clear, if the larger size is not already in use. This larger size is determined by the system.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED()` | Constant Value: "XR_BOUNDARY_TYPE_LARGE" |

### XR_BOUNDARY_TYPE_NO_RECOMMENDATION

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/ManifestProperty.kt+symbol:XR_BOUNDARY_TYPE_NO_RECOMMENDATION) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull String XR_BOUNDARY_TYPE_NO_RECOMMENDATION
```

Value to launch an activity with no recommendations for the type of safety boundary. The system continues to use the type of safety boundary currently in use.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/xr/runtime/manifest/package-summary#PROPERTY_XR_BOUNDARY_TYPE_RECOMMENDED()` | Constant Value: "XR_BOUNDARY_TYPE_NO_RECOMMENDATION" |