# SessionCreateApkRequired

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

*** ** * ** ***


```
public final class SessionCreateApkRequired extends SessionCreateResult
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.xr.runtime.SessionCreateResult](https://developer.android.com/reference/androidx/xr/runtime/SessionCreateResult) ||
|   | ↳ | [androidx.xr.runtime.SessionCreateApkRequired](https://developer.android.com/reference/androidx/xr/runtime/SessionCreateApkRequired) |

*** ** * ** ***

Result of an unsuccessful `https://developer.android.com/reference/androidx/xr/runtime/Session#create(android.content.Context,kotlin.coroutines.CoroutineContext,androidx.lifecycle.LifecycleOwner)` call. The device has a `https://developer.android.com/reference/androidx/xr/runtime/SessionCreateApkRequired#requiredApk()` that is outdated, was unable to confirm availability, or is not installed.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/xr/runtime/SessionCreateApkRequired#SessionCreateApkRequired(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html requiredApk)` |

| ### Public methods |
|---|---|
| `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/SessionCreateApkRequired#getRequiredApk()()` the fully qualified name of the package that is missing or needs to be updated |

## Public constructors

### SessionCreateApkRequired

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0-beta02)

```
public SessionCreateApkRequired(@NonNull String requiredApk)
```

## Public methods

### getRequiredApk

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0-beta02)

```
public final @NonNull String getRequiredApk()
```

the fully qualified name of the package that is missing or needs to be updated