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
Same as IviDataSourceIpc.createIviPagingSource with an additional listener.
Link copied to clipboard
abstract suspend fun invalidateIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId)
Same as IviDataSourceIpc.invalidateIviPagingSource with an additional listener.
Link copied to clipboard
abstract suspend fun loadPageFromIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId, loadParams: IviPagingSource.LoadParams): IviPagingSource.LoadResult<E>
Same as IviDataSourceIpc.loadPageFromIviPagingSource with an additional listener.