IviServiceDirectConnectionData
class IviServiceDirectConnectionData<T>(val serviceId: IviServiceId, val connectionScope: CoroutineScope, serviceProvider: () -> T) : IviServiceConnectionData
Data to construct the IviServiceDirectConnectionBase class.
Parameters
T
The <Interface>Base
class.
serviceId
ID of the service.
connectionScope
Coroutine scope of the service connection. Canceled on disconnect.
serviceProvider
Callback to obtain the service instance.