CommunicationsServerDescriptor

interface CommunicationsServerDescriptor

Interface for providing a description of the server part of a communications service.

Implementations of this interface are normally generated from the service Protobuf description.

Properties

Link copied to clipboard
abstract val serviceUuid: UUID

The globally unique UUID for the service.

Functions

Link copied to clipboard
abstract fun <T : CommunicationsServiceBase> createServiceHandler(lifecycleOwner: LifecycleOwner, stub: T): CommunicationsServiceHandler

Creates a service handler that can be used to call into the specified stub.