provideService

abstract suspend fun provideService(serviceUuid: ServiceUuid, listener: ConnectivityServerServiceListener): Boolean

Starts providing a service with the specified serviceUuid. The specified listener will be called with service events. Returns true on success, false otherwise.