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

# UpdateParams

*** ** * ** ***

```
class UpdateParams
```

|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||
| ↳ | [android.app.AppInteractionSession.UpdateParams](https://developer.android.com/reference/kotlin/android/app/AppInteractionSession.UpdateParams#) |

Parameters to update an `https://developer.android.com/reference/kotlin/android/app/AppInteractionSession`, provided to `https://developer.android.com/reference/kotlin/android/app/AppInteractionSession#update(android.app.AppInteractionSession.UpdateParams,%20java.util.concurrent.Executor,%20android.os.OutcomeReceiver)`.

## Summary

| Nested classes ||
|---|---|
|   | `https://developer.android.com/reference/kotlin/android/app/AppInteractionSession.UpdateParams.Builder` Builder for `https://developer.android.com/reference/kotlin/android/app/AppInteractionSession.UpdateParams#`. |

| Public methods ||
|---|---|
| [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!\> | `https://developer.android.com/reference/kotlin/android/app/AppInteractionSession.UpdateParams#getAdditionalTargetPackages()()` Returns the list of additional target packages to update the session for. |
| [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html#) | `https://developer.android.com/reference/kotlin/android/app/AppInteractionSession.UpdateParams#getExtras()()` Returns the additional metadata for this update. |

## Public methods

### getAdditionalTargetPackages

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

```
fun getAdditionalTargetPackages(): MutableList<String!>
```

Returns the list of additional target packages to update the session for.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!>` | This value cannot be `null`. |

### getExtras

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

```
fun getExtras(): Bundle
```

Returns the additional metadata for this update.

| Return ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/os/Bundle.html#` | This value cannot be `null`. |