Constructors

Link copied to clipboard
constructor(config: QueryPluginConfig)

Functions

Link copied to clipboard
open fun attachInfo(p0: Context, p1: ProviderInfo)
Link copied to clipboard
open fun bulkInsert(p0: Uri, p1: Array<ContentValues>): Int
Link copied to clipboard
open fun call(p0: String, p1: String, p2: String?, p3: Bundle?): Bundle?
open override fun call(method: String, arg: String?, extras: Bundle?): Bundle?
Link copied to clipboard
open fun canonicalize(p0: Uri): Uri?
Link copied to clipboard
open fun delete(p0: Uri, p1: Bundle?): Int
open override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int
Link copied to clipboard
open fun dump(p0: FileDescriptor, p1: PrintWriter, p2: Array<String>)
Link copied to clipboard
open suspend fun get(id: String, params: GetParams): TResult?

Get an item by its id. This only needs to be implemented if config.storageStrategy is set to StoreReference

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend fun getPluginState(): PluginState
Link copied to clipboard
Link copied to clipboard
open fun getStreamTypes(p0: Uri, p1: String): Array<String>?
Link copied to clipboard
open override fun getType(uri: Uri): String?
Link copied to clipboard
open fun getTypeAnonymous(p0: Uri): String?
Link copied to clipboard
Link copied to clipboard
open fun insert(p0: Uri, p1: ContentValues?, p2: Bundle?): Uri?
open override fun insert(uri: Uri, values: ContentValues?): Uri?
Link copied to clipboard
Link copied to clipboard
open override fun onConfigurationChanged(p0: Configuration)
Link copied to clipboard
open override fun onCreate(): Boolean
Link copied to clipboard
open override fun onLowMemory()
Link copied to clipboard
open override fun onTrimMemory(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun query(p0: Uri, p1: Array<String>?, p2: String?, p3: Array<String>?, p4: String?, p5: CancellationSignal?): Cursor?
open override fun query(uri: Uri, projection: Array<out String>?, queryArgs: Bundle?, cancellationSignal: CancellationSignal?): Cursor?
open override fun query(uri: Uri, projection: Array<out String>?, selection: String?, selectionArgs: Array<out String>?, sortOrder: String?): Cursor?
Link copied to clipboard
open fun refresh(p0: Uri, p1: Bundle?, p2: CancellationSignal?): Boolean

open suspend fun refresh(item: TResult, params: RefreshParams): TResult?

Request an updated copy of the item. This is called when config.storageStrategy is set to StoreCopy and the launcher wants to refresh the item. By default, this method returns the same item.

Link copied to clipboard
Link copied to clipboard
abstract suspend fun search(query: TQuery, params: SearchParams): List<TResult>
Link copied to clipboard
open fun shutdown()
Link copied to clipboard
open fun uncanonicalize(p0: Uri): Uri?
Link copied to clipboard
open fun update(p0: Uri, p1: ContentValues?, p2: Bundle?): Int
open override fun update(uri: Uri, values: ContentValues?, selection: String?, selectionArgs: Array<out String>?): Int