The Developer Preview for Android 11 is now available; test it out and share your feedback.

CallbackHandler

interface CallbackHandler<T : CallbackReceiver<Any!>!>
androidx.remotecallback.CallbackHandlerRegistry.CallbackHandler

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.

Summary

Public methods

abstract Unit
executeCallback(context: Context!, receiver: T, arguments: Bundle!)

Executes a callback given a Bundle of aurgements.

Public methods

executeCallback

abstract fun executeCallback(
    context: Context!,
    receiver: T,
    arguments: Bundle!
): Unit

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