requestDevice method

  1. @override
Never requestDevice(
  1. RequestOptionsBuilder options
)
override

Request a WebBluetoothDevice from the browser (user). This will resolve into a single device even if the filter options (and environment) have multiple devices that fit that could be found.

If you want multiple devices you will need to call this method multiple times, the user however can still click the already connected device twice.

See: RequestOptionsBuilder

Implementation

@override
Never requestDevice(final RequestOptionsBuilder options) {
  throw NativeAPINotImplementedError("requestDevice");
}