ContentProviderWithCallbacks
abstract class ContentProviderWithCallbacks<T : ContentProviderWithCallbacks<ContentProviderWithCallbacks<*>>!> : ContentProvider, CallbackReceiver<T>, CallbackBase<T>
kotlin.Any | ||
↳ | android.content.ContentProvider | |
↳ | androidx.remotecallback.ContentProviderWithCallbacks |
Version of ContentProvider that can be used as a CallbackReceiver
. Be sure to call the super of #call when unhandled to ensure callbacks are triggered.
Summary
Public constructors | |
---|---|
<init>() Version of ContentProvider that can be used as a |
Public methods | |
---|---|
open Unit |
attachInfo(context: Context!, info: ProviderInfo!) |
open Bundle? | |
open T |
createRemoteCallback(context: Context!) |
Public constructors
<init>
ContentProviderWithCallbacks()
Version of ContentProvider that can be used as a CallbackReceiver
. Be sure to call the super of #call when unhandled to ensure callbacks are triggered.
Public methods
attachInfo
open fun attachInfo(
context: Context!,
info: ProviderInfo!
): Unit
createRemoteCallback
open fun createRemoteCallback(context: Context!): T