hasGetDevices static method

bool hasGetDevices()

Check to see if the getDevices call is available in the current browser.

See: getDevices.

Implementation

static bool hasGetDevices() {
  if (!isBluetoothAPISupported()) {
    return false;
  }
  return _nativeBluetooth.hasGetDevices();
}