Click or drag to resize

wclBluetoothManager Class

The Bluetooth Manager component.
Inheritance Hierarchy

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

The wclBluetoothManager type exposes the following members.

Public methodwclBluetoothManager
Creates a new Bluetooth Manager component.
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.
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 OnNumericComparison 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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Free the Bluetooth Manager
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpen
Opens the Bluetooth Manager and allocated required hardware resources.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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.

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