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

*** ** * ** ***


```
public class TrustedWebActivityCallbackRemote
```

<br />

*** ** * ** ***

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

## Summary

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/androidx/browser/trusted/TrustedWebActivityCallbackRemote#runExtraCallback(java.lang.String,android.os.Bundle)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html callbackName, @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/os/Bundle.html args)` Runs the free-form callbacks that may be provided by the implementation. |

## Public methods

### runExtraCallback

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

```
public void runExtraCallback(@NonNull String callbackName, @NonNull Bundle args)
```

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

| Parameters |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html callbackName` | Name of the extra callback. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/os/Bundle.html args` | Arguments for the callback |

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