descriptor
abstract fun descriptor(uuid: UUID, binding: RemoteDescriptorBinding.RequiresServicesDiscovered<T>.() -> Unit)
Binds the object to the RemoteDescriptor at a given UUID whenever it is available.
Parameters
uuid
the UUID of the RemoteDescriptor to bind to
binding
the RemoteDescriptorBinding.RequiresServicesDiscovered set up binding to the RemoteDescriptor
open fun descriptor(uuidString: String, binding: RemoteDescriptorBinding.RequiresServicesDiscovered<T>.() -> Unit)
Binds the object to the RemoteDescriptor at a given UUID whenever it is available.
Parameters
uuidString
the string of the UUID of the RemoteDescriptor to bind to
binding
the RemoteDescriptorBinding.RequiresServicesDiscovered set up binding to the RemoteDescriptor
Throws
if the UUID is not valid