Click or drag to resize
wclBluetoothManager Class
The Bluetooth Manager component.
Inheritance Hierarchy
SystemObject
  wclBluetoothwclBluetoothManager

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.1.0.0 (7.1.0.0)

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 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 methodDoDeviceFound
Fires the OnDeviceFound event.
Protected methodDoDiscoveringCompleted
Fires the OnDiscoveringCompleted event.
Protected methodDoDiscoveringStarted
Fires the OnDiscoveringStarted event.
Protected methodDoNumericComparison
Fires the NumericComparison event.
Protected methodDoPasskeyNotification
Fores the OnPasskeyNotification event.
Protected methodDoPasskeyRequest
Fires the OnPasskeyRequest event.
Protected methodDoPinRequest
Fires the OnPinRequest event.
Protected methodDoStatusChanged
Fires the OnStatusChanged event.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpen
Opens the Bluetooth Manager and allocated required hardware resources.
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventAfterOpen
The event fires after the Bluetooth Manager has been successfuly 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 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 eventOnNumericComparison
The event fires when a remote Bluetooth device requires a numeric comparison pairing.
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 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