Companion
Functions
Link copied to clipboard
fun <C : IviServiceConnection<P, O>, D : IviServiceConnectionData, P : Any, O : IviServicePropertiesObserver, LP : IviServiceLiveDataPropertiesBase<P, O>> createGlobal( lifecycleOwner: LifecycleOwner, serviceInterfaceRegistration: IviServiceInterfaceRegistration<C, D, P, O, LP>, liveDataPropertiesFactory: LiveDataPropertiesFactory<LP>, onConnectionRequestedChangedHandler: (Boolean) -> Unit, onConnectionExceptionHandler: (String, Exception) -> Unit = defaultOnConnectionExceptionHandler): IviServiceConnectionManagerImpl<C, D, P, O, LP>
Content copied to clipboard
Creates a IviServiceConnectionManagerImpl for a global IVI service interface.
Link copied to clipboard
fun <C : IviServiceConnection<P, O>, D : IviServiceConnectionData, P : Any, O : IviServicePropertiesObserver, LP : IviServiceLiveDataPropertiesBase<P, O>> createIviInstanceBound( iviInstanceId: IviInstanceId, lifecycleOwner: LifecycleOwner, serviceInterfaceRegistration: IviServiceInterfaceRegistration<C, D, P, O, LP>, liveDataPropertiesFactory: LiveDataPropertiesFactory<LP>, onConnectionRequestedChangedHandler: (Boolean) -> Unit, onConnectionExceptionHandler: (String, Exception) -> Unit = defaultOnConnectionExceptionHandler): IviServiceConnectionManagerImpl<C, D, P, O, LP>
Content copied to clipboard
Creates a IviServiceConnectionManagerImpl for an IVI instance bound IVI service interface.