requestPeripheral

suspend fun requestPeripheral(options: Options, builderAction: PeripheralBuilderAction = {}): Peripheral?

Obtains a nearby Peripheral via device picker. Returns null if dialog is cancelled (e.g. user dismissed dialog by clicking outside of dialog or clicking cancel button).

See requestDevice for more details.

Throws IllegalStateException under the following conditions:

Throws

If requesting a device could not be fulfilled.