Discovers accessible Bluetooth devices and returns their names and addresses.
- maxDevices (Int32)
- The maximum number of devices to get information about.
- authenticated (Boolean)
- True to return previously authenticated/paired devices.
- remembered (Boolean)
- True to return remembered devices.
- unknown (Boolean)
- True to return previously unknown devices.
- discoverableOnly (Boolean)
- True to return only the devices that are in range, and in discoverable mode. See the remarks section.
An array of BluetoothDeviceInfo objects describing the devices discovered.
The discoverableOnly parameter is not supported on the Microsoft stack on Win32 as the stack there returns the remembered and Device-Inquiry-results already merged. It is supported on WM/CE and on Widcomm (both platforms). Note when that flag is set the other related flag values are ignored.