Click or drag to resize

wclBluetoothManager Class

The Bluetooth Manager component.
Inheritance Hierarchy
SystemObject
  wclBluetoothwclBluetoothManager

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public class wclBluetoothManager

The wclBluetoothManager type exposes the following members.

Constructors
 NameDescription
Public methodwclBluetoothManager Creates a new Bluetooth Manager component.
Top
Properties
 NameDescription
Public propertyActive Gets the Bluetooth Manager state.
Public propertyCount Gets the number of available Bluetooth Radios.
Public propertyDiscovering Gets the discovering state.
Public propertyHandlePairing Gets the pairing handling flag.
Public propertyItem Gets the Bluetooth Radio by its index.
Top
Methods
 NameDescription
Public methodClose Closes the Bluetooth Manager and releases all allocated resources.
Protected methodDoAfterOpen Fires the AfterOpen event.
Protected methodDoAuthenticationCompleted Fires the OnAuthenticationCompleted event.
Protected methodDoBeforeClose Fires the BeforeClose event.
Protected methodDoClosed Fires the OnClosed event.
Protected methodDoConfirm Fires the OnConfirm event.
Protected methodDoDeviceFound Fires the OnDeviceFound event.
Protected methodDoDiscoveringCompleted Fires the OnDiscoveringCompleted event.
Protected methodDoDiscoveringStarted Fires the OnDiscoveringStarted event.
Protected methodDoIoCapabilityRequest Fires the OnIoCapabilityRequest event.
Protected methodDoNumericComparison Fires the OnNumericComparison event.
Protected methodDoOobDataRequest Fires the OnOobDataRequest event.
Protected methodDoPasskeyNotification Fores the OnPasskeyNotification event.
Protected methodDoPasskeyRequest Fires the OnPasskeyRequest event.
Protected methodDoPinRequest Fires the OnPinRequest event.
Protected methodDoProtectionLevelRequest Fires the OnProtectionLevelRequest event.
Protected methodDoStatusChanged Fires the OnStatusChanged event.
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Free the Bluetooth Manager
(Overrides ObjectFinalize)
Public methodGetClassicRadio Gets the first available Radio object that supports Classic Bluetooth features.
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetLeRadio Gets the first available Radio object that supports Bluetooth Low Energy features.
Public methodGetRadio Gets the first available Radio object.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpen(Boolean) Opens the Bluetooth Manager and allocated required hardware resources.
Public methodOpen(wclBluetoothApi, Boolean) Opens the Bluetooth Manager and allocated required hardware resources.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventAfterOpen The event fires after the Bluetooth Manager has been successfully opened.
Public eventBeforeClose The event fires before the Bluetooth Manager will be closed.
Public eventOnAuthenticationCompleted The event fires when authentication (pairing) with a remote Bluetooth device has completed.
Public eventOnClosed The event fires when the Bluetooth Manager has completely been closed.
Public eventOnConfirm The event fires when a remote Bluetooth device requires a pairing confirmation.
Public eventOnDeviceFound The event fires when a new remote Bluetooth device found during discovering.
Public eventOnDiscoveringCompleted The event fires when discovering for remote Bluetooth devices has been completed.
Public eventOnDiscoveringStarted The event fires when discovering for remote Bluetooth devices has been started.
Public eventOnIoCapabilityRequest The event fires when a remote device requests an IO capability of the local Bluetooth device.
Public eventOnNumericComparison The event fires when a remote Bluetooth device requires a numeric comparison pairing.
Public eventOnOobDataRequest The event fires when a remote device requests an Out Of Band pairing data.
Public eventOnPasskeyNotification The event fires when a remote Bluetooth device notifies an application about its passkey.
Public eventOnPasskeyRequest The event fires when a remote Bluetooth device requires a passkey for pairing.
Public eventOnPinRequest The event fires when a remote Bluetooth device requires a legacy PIN pairing.
Public eventOnProtectionLevelRequest The event fires during BLE pairing to request required pairing protection level.
Public eventOnStatusChanged The event fires when a status of a Bluetooth hardware or driver has been changed.
Top
Remarks

The TwclBluetoothManager is the main component of the Bluetooth Framework. Each application that uses the Bluetooth Framework must have one and only one active instance of the Bluetooth Manager.

This component must be created and opened in an application's main thread only.

See Also