# 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)

*** ** * ** ***


```
class SessionCreateApkRequired : SessionCreateResult
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.xr.runtime.SessionCreateResult](https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateResult) ||
|   | ↳ | [androidx.xr.runtime.SessionCreateApkRequired](https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateApkRequired) |

*** ** * ** ***

Result of an unsuccessful `https://developer.android.com/reference/kotlin/androidx/xr/runtime/Session#create(android.content.Context,kotlin.coroutines.CoroutineContext,androidx.lifecycle.LifecycleOwner)` call. The device has a `https://developer.android.com/reference/kotlin/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/kotlin/androidx/xr/runtime/SessionCreateApkRequired#SessionCreateApkRequired(kotlin.String)(requiredApk: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateApkRequired#requiredApk()` 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)

```
SessionCreateApkRequired(requiredApk: String)
```

## Public properties

### requiredApk

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

```
val requiredApk: String
```

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