Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

IOBluetoothDeviceMBS.deviceWithAddressString(Address as String) as IOBluetoothDeviceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: Returns the IOBluetoothDevice object for the given BluetoothDeviceAddress.
Notes:
Within a single application, there will be only one instance of IOBluetoothDevice for a given remote device address.
The string should be of the form xx:xx:xx:xx:xx:xx

Feedback, Comments & Corrections

IOBluetoothDeviceMBS.favoriteDevices as IOBluetoothDeviceMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: Gets an array of the user's favorite devices.
Notes: Returns an array of device objects representing the user's favorite devices. If the user has no favorites, nil is returned.

Feedback, Comments & Corrections

IOBluetoothDeviceMBS.pairedDevices as IOBluetoothDeviceMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: Gets an array of all of the paired devices on the system.
Notes:
Returns an array of device objects for all of the paired devices on the system. If there are no paired devices, nil is returned.

The paired devices are currently NOT stored per user, so this is all devices paired by any user.

Feedback, Comments & Corrections

IOBluetoothDeviceMBS.recentDevices(numDevices as Integer = 0) as IOBluetoothDeviceMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: Gets an array of recently used Bluetooth devices.
Notes:
numDevices: The number of devices to return.

Returns an array of device objects recently used by the system. If no devices have been accessed, nil is returned.

The resulting array contains IOBluetoothDevice objects sorted in reverse chronological order. The most recently accessed devices are first. If the numDevices parameter is 0, all devices accessed by the system are returned. If numDevices is non-zero, only the most recent devices are returned.

NOTE: This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Bluetooth Plugin.




Links
MBS Xojo Chart Plugins