provide

abstract fun provide(interfaceClass: KClass<*>): IviServiceId

Function interface to provide an IviServiceId for the given interfaceClass

An implementation should use IviServiceHostBuilder.getDiscoverableServiceId normally to implement this and provide the given interfaceClass. Only when an IVI service host implements an discoverable interface multiple times, should an implementation use IviServiceHostBuilder.getDiscoverableServiceIdWithIndex instead.