Platforms to show: All Mac Windows Linux Cross-Platform
WindowsBluetoothLEDeviceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS WinFrameworks Plugin | 22.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Notes:
Requires Windows 10 (introduced in 10.0.10240.0)
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 8 properties
- property Appearance as WindowsBluetoothLEAppearanceMBS
- property BluetoothAddress as UInt64
- property BluetoothAddressType as Integer
- property BluetoothDeviceId as WindowsBluetoothDeviceIdMBS
- property ConnectionStatus as Integer
- property Handle as Integer
- property Name as String
- property WasSecureConnectionUsedForPairing as Boolean
- 3 methods
- method Close
- method Constructor private
- method Destructor
- 5 shared methods
- shared method FromBluetoothAddressAsync(bluetoothAddress as UInt64, BluetoothAddressType as Integer, delegateHandler as FromBluetoothAddressAsyncCompletedMBS)
- shared method FromBluetoothAddressAsync(bluetoothAddress as UInt64, delegateHandler as FromBluetoothAddressAsyncCompletedMBS)
- shared method FromIdAsync(Id as String, delegateHandler as FromIdAsyncCompletedMBS)
- shared method GetDeviceSelector as String
- shared method GetDeviceSelectorFromAppearance(Appearance as WindowsBluetoothLEAppearanceMBS) as String
- 2 delegates
- delegate FromBluetoothAddressAsyncCompletedMBS(AsyncStatus as Integer, Device as WindowsBluetoothLEDeviceMBS)
- delegate FromIdAsyncCompletedMBS(AsyncStatus as Integer, Device as WindowsBluetoothLEDeviceMBS)
- 13 constants
Address Type
Constant | Value | Description |
---|---|---|
AddressTypePublic | 0 |
Public address. |
AddressTypeRandom | 1 |
Random address. |
AddressTypeUnspecified | 2 |
Unspecified address. |
Asynchronous Status
Constant | Value | Description |
---|---|---|
AsyncStatusCanceled | 2 |
The operation was canceled. |
AsyncStatusCompleted | 1 |
The operation has completed. |
AsyncStatusError | 3 |
The operation has encountered an error. |
AsyncStatusStarted | 0 |
The operation has started. |
ConnectionStatus
Constant | Value | Description |
---|---|---|
ConnectionStatusConnected | 1 |
The device is connected. |
ConnectionStatusDisconnected | 0 |
The device is disconnected. |
Device Access Status
Constant | Value | Description |
---|---|---|
DeviceAccessStatusAllowed | 1 |
Access to the device is allowed. |
DeviceAccessStatusDeniedBySystem | 3 |
Access to the device has been disallowed by the system. |
DeviceAccessStatusDeniedByUser | 2 |
Access to the device has been disallowed by the user. |
DeviceAccessStatusUnspecified | 0 |
The device access is not specified. |
This class has no sub classes.
Blog Entries
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WindowsBlueToothLEDescriptorValueMBS - WindowsBluetoothLEExceptionMBS
Feedback: Report problem or ask question.
