IviServiceBinderConnectionData

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

Data to construct the IviServiceBinderConnectionBase class.

Parameters

serviceId

ID of the service.

connectionScope

Coroutine scope of the service connection. Canceled on disconnect.

syncBinderTransactionScope

Scope to use for sync binder transactions.

acquireAndReleaseInterface

The interface for acquiring and releasing service interfaces.

ipcMessageDispatchFailureListener

Called on message dispatch failures.

Constructors

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

Types

Link copied to clipboard

Inherited properties

Link copied to clipboard
val connectionScope: CoroutineScope

Coroutine scope of the service connection. Canceled on disconnect. The dispatcher can be different per connection (type).

Link copied to clipboard

ID of the service.

Functions

Link copied to clipboard

Acquires the IVI service interface.

Link copied to clipboard

Releases the IVI service interface.