IviServiceDirectConnectionData

fun <T> IviServiceDirectConnectionData(    serviceId: IviServiceId,     connectionScope: CoroutineScope,     serviceProvider: () -> T)

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.