PreviewRemoteService

constructor(shortUuid: Int, instanceId: Int = 0, builder: ServiceScope.() -> Unit = {})

Creates a preview of a remote service with the given service identifier.

Parameters

shortUuid

A 16 or 32-bit service UUID assigned by Bluetooth SIG.

instanceId

The instance ID of the service, defaults to 0.

builder

The service builder.


constructor(uuid: Uuid, instanceId: Int = 0, builder: ServiceScope.() -> Unit = {})

Creates a preview of a remote service with the given service identifier.

Parameters

uuid

Service UUID.

instanceId

The instance ID of the service, defaults to 0.

builder

The service builder.