findService

abstract fun <T : Publication.Service> findService(serviceType: KClass<T>): T?

Returns the first publication service that is an instance of serviceType.