connectToDevice

abstract fun connectToDevice(identifier: String)

Connects to the device whose identifier is provided as a parameter.

The identifier is found in the data provided in response to scanDevices via the DeviceScannerSpi.

Since

1.0.0

Parameters

identifier

The identifier of the device to connect to.

Throws

If the provided identifier does not exist.