public abstract class ContentProviderWithCallbacks
extends ContentProvider implements CallbackReceiver<T extends ContentProviderWithCallbacks>

   ↳ android.content.ContentProvider
     ↳ androidx.remotecallback.ContentProviderWithCallbacks<T extends androidx.remotecallback.ContentProviderWithCallbacks>

Version of ContentProvider that can be used as a CallbackReceiver. Be sure to call the super of call(String, String, Bundle) when unhandled to ensure callbacks are triggered.


Inherited constants

Public constructors


Public methods

void attachInfo(Context context, ProviderInfo info)
Bundle call(String method, String arg, Bundle extras)
T createRemoteCallback(Context context)

Creates a RemoteCallback that will call the method with method specified with the arguments specified when triggered.

Inherited methods