# CallbackHandlerRegistry.CallbackHandler

Artifact: [androidx.remotecallback:remotecallback](https://developer.android.com/jetpack/androidx/releases/remotecallback) [View Source](https://cs.android.com/search?q=file:androidx/remotecallback/CallbackHandlerRegistry.java+class:androidx.remotecallback.CallbackHandlerRegistry.CallbackHandler) Added in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03) Deprecated in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03)

*** ** * ** ***


```
interface CallbackHandlerRegistry.CallbackHandler<T : CallbackReceiver?>
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This interface is deprecated.**   
> Deprecated in Java

The interface used to trigger a callback when the pending intent is fired. Note: This should only be referenced by generated code, there is no reason to reference this otherwise.

| Parameters |
|---|---|
| `<T : https://developer.android.com/reference/kotlin/androidx/remotecallback/CallbackReceiver?>` | The receiver type for this callback handler. |

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[executeCallback](https://developer.android.com/reference/kotlin/androidx/remotecallback/CallbackHandlerRegistry.CallbackHandler#executeCallback(android.content.Context,T,android.os.Bundle))(context: https://developer.android.com/reference/android/content/Context.html, receiver: T!, arguments: https://developer.android.com/reference/android/os/Bundle.html)` **This function is deprecated.** Deprecated in Java |

## Public functions

### executeCallback

Added in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03) Deprecated in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03)

```
fun [executeCallback](https://developer.android.com/reference/kotlin/androidx/remotecallback/CallbackHandlerRegistry.CallbackHandler#executeCallback(android.content.Context,T,android.os.Bundle))(context: Context, receiver: T!, arguments: Bundle): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Executes a callback given a Bundle of arguments. Note: This should only be called by generated code, there is no reason to reference this otherwise.