Package-level declarations

Internal API of TomTom Digital Cockpit's IPC framework specific for sharing data sources.

Note: The API provided by this package is not guaranteed to be backward compatible. Do not import anything from this package.

Types

Link copied to clipboard
class IviDataSourceHelper<E : Any, Q : Any>(pagingSourceFactory: (Q) -> IviPagingSource<E>)

Provides a generic implementation for IviDataSource.createPagingSource and IviDataSource.createPagingSourceFlow. The implementation invokes pagingSourceFactory whenever a new IviPagingSource needs to be created.

Link copied to clipboard

IPC interface of an IviDataSource.

Link copied to clipboard

Binder specific data class that allows an IviDataSource to be written to and read from a Parcel.

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

Service side implementation of the IviDataSourceIpcBinderInterface.

Link copied to clipboard

Client side implementation of an IviDataSourceIpc interface.

Link copied to clipboard
Link copied to clipboard

Wraps an IviDataSource to keep track of its active IviPagingSources to be able to invalidate them when markAsUnavailable is called.

Link copied to clipboard

Identifies a IviPagingSource. The ID is unique per client.

Link copied to clipboard
class MirroredIviDataSource<E : Any, Q : Any>(ipc: IviDataSourceIpc<E, Q>, connectionScope: CoroutineScope) : IviDataSource<E, Q>

Mirrors another IviDataSource. The mirrored IviDataSource is accessed through ipc.

Functions

Link copied to clipboard

Writes the data to the given parcel.