Platforms to show: All Mac Windows Linux Cross-Platform

WindowsBluetoothLEAdvertisementWatcherMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Bluetooth MBS WinFrameworks Plugin 22.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: An object to receive Bluetooth Low Energy (LE) advertisements.

Errors

Constant Value Description
ErrorConsentRequired 8 The operation requires consent.
ErrorDeviceNotConnected 3 The operation cannot be completed because the remote device is not connected.
ErrorDisabledByPolicy 5 The operation is disabled by policy.
ErrorDisabledByUser 7 The operation is disabled by the user.
ErrorNotSupported 6 The operation is not supported on the current Bluetooth radio hardware.
ErrorOtherError 4 An unexpected error has occurred.
ErrorRadioNotAvailable 1 The Bluetooth radio was not available. This error occurs when the Bluetooth radio has been turned off.
ErrorResourceInUse 2 The operation cannot be serviced because the necessary resources are currently in use.
ErrorSuccess 0 The operation was successfully completed or serviced.
ErrorTransportNotSupported 9 The transport is not supported.

Scan modes

Constant Value Description
ScanningModeActive 1 Specifies an active scanning mode. This indicates that scan request packets will be sent from the platform to actively query for more advertisement data of type ScanResponse.
ScanningModePassive 0 Specifies a passive scanning mode. This is the default scanning mode.

Status

Constant Value Description
StatusAborted 4 An error occurred during transition or scanning that stopped the watcher due to an error.
StatusCreated 0 The initial status of the watcher.
StatusStarted 1 The watcher is started.
StatusStopped 3 The watcher is stopped.
StatusStopping 2 The watcher stop command was issued.

This class has no sub classes.

Some examples using this class:

Blog Entries


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


WindowsBluetoothLEAdvertisementReceivedEventArgsMBS   -   WindowsBluetoothLEAppearanceMBS

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat