IviDataSourceIpcBinderInterface

A binder specific IviDataSourceIpc interface.

This interface does not inherit IviDataSourceIpc as each function slightly differs.

The aidl tool is not used to allow the use of suspend methods in the interface. The inner classes follow as much as possible the structure of the code generated by the aidl tool.

Parameters

E

Element type of the data source.

Q

Query type of the data source.

Inheritors

Types

Link copied to clipboard
abstract class Stub<E : Any, Q : Any>(binderContext: BinderContext, queryReader: Parcel.() -> Q, elementWriter: Parcel.(E) -> Unit) : AsyncCapableBinderInterface.Stub, IviDataSourceIpcBinderInterface<E, Q>

Functions

Link copied to clipboard
abstract suspend fun createIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId, query: Q): IviDataSourceIpc.CreateIviPagingSourceResult
Link copied to clipboard
abstract suspend fun invalidateIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId)
Link copied to clipboard
abstract suspend fun loadPageFromIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId, loadParams: IviPagingSource.LoadParams): IviPagingSource.LoadResult<E>

Inherited functions

Link copied to clipboard
abstract fun asBinder(): IBinder
Link copied to clipboard