CallbackHandlerRegistry.CallbackHandler


public interface CallbackHandlerRegistry.CallbackHandler<T extends CallbackReceiver>


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 extends CallbackReceiver>

The receiver type for this callback handler.

Summary

Public methods

abstract void
executeCallback(
    @NonNull Context context,
    T receiver,
    @NonNull Bundle arguments
)

Executes a callback given a Bundle of arguments.

Public methods

executeCallback

Added in 1.0.0-alpha03
Deprecated in 1.0.0-alpha03
abstract void executeCallback(
    @NonNull Context context,
    T receiver,
    @NonNull Bundle arguments
)

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.