Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Builder

*** ** * ** ***

```
class Builder
```

|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||
| ↳ | [android.content.pm.webapp.WebAppInstallRequest.Builder](https://developer.android.com/reference/kotlin/android/content/pm/webapp/WebAppInstallRequest.Builder#) |

Builder for creating `https://developer.android.com/reference/kotlin/android/content/pm/webapp/WebAppInstallRequest` instances.

## Summary

| Public constructors ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/content/pm/webapp/WebAppInstallRequest.Builder#Builder(kotlin.CharSequence,%20kotlin.String)(title: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html, manifestUrl: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Creates a new Builder with the required PWA manifest URL. |

| Public methods ||
|---|---|
| [WebAppInstallRequest](https://developer.android.com/reference/kotlin/android/content/pm/webapp/WebAppInstallRequest) | `https://developer.android.com/reference/kotlin/android/content/pm/webapp/WebAppInstallRequest.Builder#build()()` Builds the WebAppInstallRequest object. |

## Public constructors

### Builder

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
Builder(
    title: CharSequence, 
    manifestUrl: String)
```

Creates a new Builder with the required PWA manifest URL.

| Parameters ||
|---|---|
| `title` | [CharSequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html): The initial title of the app to display during the installation process. Note: The final app name may differ as it is prioritized from the content of the web manifest. This value cannot be `null`. |
| `manifestUrl` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): The URL of the PWA manifest. This value cannot be `null`. |

## Public methods

### build

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
fun build(): WebAppInstallRequest
```

Builds the WebAppInstallRequest object.

| Return ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/content/pm/webapp/WebAppInstallRequest` | This value cannot be `null`. |