# TrustedWebActivityCallbackRemote

Artifact: [androidx.browser:browser](https://developer.android.com/jetpack/androidx/releases/browser) [View Source](https://cs.android.com/search?q=file:androidx/browser/trusted/TrustedWebActivityCallbackRemote.java+class:androidx.browser.trusted.TrustedWebActivityCallbackRemote) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/browser#1.3.0)

*** ** * ** ***


```
class TrustedWebActivityCallbackRemote
```

<br />

*** ** * ** ***

TrustedWebActivityCallbackRemote is used by client app to execute callbacks from a binder of `https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityCallback`.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityCallbackRemote#runExtraCallback(java.lang.String,android.os.Bundle)(callbackName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, args: https://developer.android.com/reference/android/os/Bundle.html)` Runs the free-form callbacks that may be provided by the implementation. |

## Public functions

### runExtraCallback

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/browser#1.3.0)

```
fun runExtraCallback(callbackName: String, args: Bundle): Unit
```

Runs the free-form callbacks that may be provided by the implementation.

| Parameters |
|---|---|
| `callbackName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | Name of the extra callback. |
| `args: https://developer.android.com/reference/android/os/Bundle.html` | Arguments for the callback |

| Throws |
|---|---|
| `https://developer.android.com/reference/android/os/RemoteException.html` |   |