Package-level declarations

General internal API of TomTom Digital Cockpit's IPC framework.

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
typealias ConnectionFactory<D, C> = (D) -> C
Link copied to clipboard

Connection types.

Link copied to clipboard

Generic Binder interface for any IVI service host.

Link copied to clipboard

Base class for <Interface>BinderConnection classes.

Link copied to clipboard
class IviServiceBinderConnectionData(val serviceId: IviServiceId, val connectionScope: CoroutineScope, val syncBinderTransactionScope: CoroutineScope, acquireAndReleaseInterface: IviServiceBinderConnectionData.AcquireAndReleaseInterface, val ipcMessageDispatchFailureListener: IpcMessageDispatchFailureListener) : IviServiceConnectionData

Data to construct the IviServiceBinderConnectionBase class.

Link copied to clipboard

Binder interface of an IVI service.

Link copied to clipboard

Base class for any <Interface>Connection interface implementation.

Link copied to clipboard
abstract class IviServiceConnectionData(val serviceId: IviServiceId, val connectionScope: CoroutineScope)

Data required to construct a IviServiceConnectionBase class.

Link copied to clipboard

Information about the environment that an IviServiceConnectionManager runs in.

Link copied to clipboard

Base class for <Interface>DirectConnection classes.

Link copied to clipboard
class IviServiceDirectConnectionData<T>(val serviceId: IviServiceId, val connectionScope: CoroutineScope, serviceProvider: () -> T) : IviServiceConnectionData

Data to construct the IviServiceDirectConnectionBase class.

Link copied to clipboard

Base class for IVI service host managers.

Link copied to clipboard

Implementations construct a IviServiceHostManagerBase instance.

Link copied to clipboard

Interface for creating IVI service host managers.

Link copied to clipboard
data class IviServiceInterfaceRegistrationWrapper @IviInternal constructor(val serviceInterfaceRegistration: AnyIviServiceInterfaceRegistration)

A reference to an IVI service interface registration data.

Link copied to clipboard
annotation class IviServiceMock(val functionsInterface: KClass<*>)

The generated <Interface>Mock classes are annotated with this annotation to inform the test framework about the class that needs to be mocked for mocking the functions of the IVI service.

Link copied to clipboard

Property delegate for non-null IVI service properties, except MirrorableMap.

Link copied to clipboard

The base class for non-null IVI service property delegate. Have the same base type allows IviServicePropertyInitChecker to check if the property is initialized or not.

Property delegate for nullable IVI service MirrorableMap properties.

Link copied to clipboard

Property delegate for nullable IVI service properties, except MirrorableMap

Link copied to clipboard
class IviServicePropertyInitChecker(val serviceId: IviServiceId, val requiredProperties: Map<String, IviServiceNonNullPropertyDelegateBase<*>>, val onPropertiesInitializedCallback: () -> Unit)

Helper class to check if all properties are initialized.

Link copied to clipboard
Link copied to clipboard

A parcelable variant of an IviServiceFunResult.

Functions

Link copied to clipboard
Link copied to clipboard

Creates a IVI instance bound connection manager corresponding to this interface registration entry and the given iviInstanceId.