Platforms to show: All Mac Windows Linux Cross-Platform
WindowsDeviceInformationCustomPairingMBS class New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS WinFrameworks Plugin | 25.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
- 2 events
- event PairAsyncCompleted(asyncStatus as Integer, PairingStatus as Integer, ProtectionLevelUsed as Integer)
- event PairingRequested(Args as WindowsDevicePairingRequestedEventArgsMBS)
- 2 properties
- property Device as WindowsBluetoothLEDeviceMBS
- property Handle as Integer
- 6 methods
- method Close
- method Constructor Private
- method Constructor(other as WindowsDeviceInformationCustomPairingMBS)
- method Destructor
- method PairAsync(DevicePairingKinds as Integer)
- method PairAsync(DevicePairingKinds as Integer, minProtectionLevel as Integer)
- 10 constants
Pairing Kinds
Constant | Value | Description |
---|---|---|
DevicePairingKindsConfirmOnly | 1 | The application must confirm they wish to perform the pairing action. more |
DevicePairingKindsConfirmPinMatch | 8 | The application must display the given PIN to the user and ask the user to confirm that the PIN matches the one show on the target device. more |
DevicePairingKindsDisplayPin | 2 | The application must display the given PIN to the user. more |
DevicePairingKindsNone | 0 |
No pairing is supported. |
DevicePairingKindsProvidePasswordCredential | 16 | The application must request a user name and password from the user. more |
DevicePairingKindsProvidePin | 4 | The application must request a PIN from the user. more |
Protection Levels
Constant | Value | Description |
---|---|---|
DevicePairingProtectionLevelDefault | 0 |
The default value. This should not be used. |
DevicePairingProtectionLevelEncryption | 2 |
Pair the device using encryption. |
DevicePairingProtectionLevelEncryptionAndAuthentication | 3 |
Pair the device using encryption and authentication. |
DevicePairingProtectionLevelNone | 1 |
Pair the device using no levels of protection. |
This class has no sub classes.
Some properties using for this class:
- WindowsDeviceInformationPairingMBS.CustomPairing as WindowsDeviceInformationCustomPairingMBS
Blog Entries
- News from the MBS Xojo Plugins Version 25.0
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.0
- MBS Xojo Plugins, version 24.6pr3
Release notes
- Version 25.0
- Added WindowsDeviceInformationCustomPairingMBS and WindowsDevicePairingRequestedEventArgsMBS classes to do custom pairing for BluetoothLE.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WindowsConsoleMBS - WindowsDeviceInformationMBS
