TwclBluetoothManager Class
The Bluetooth Manager component.
wclBluetooth.TwclBluetoothManager
The TwclBluetoothManager type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates a new Bluetooth Manager component. | |
Destroy | Frees the component. |
Name | Description | |
---|---|---|
Active | Gets the Bluetooth Manager state. | |
AfterOpen | The event fires after the Bluetooth Manager has been successfuly opened. | |
BeforeClose | The event fires before the Bluetooth Manager will be closed. | |
Count | Gets the number of available Bluetooth Radios. | |
Discovering | Gets the discovering state. | |
HandlePairing | Gets the pairing handling flag. | |
OnClosed | The event fires when the Bluetooth Manager has completely been closed. | |
Radios[Integer] | Gets the Bluetooth Radio by its index. |
Name | Description | |
---|---|---|
Close | Closes the Bluetooth Manager and releases all allocated resources. | |
DoAfterOpen | Fires the | |
DoAuthenticationCompleted(TwclBluetoothRadio,Int64,Integer) | Fires the | |
DoBeforeClose | Fires the | |
DoClosed | Fires the | |
DoConfirm(TwclBluetoothRadio,Int64,Boolean) | Fires the | |
DoDeviceFound(TwclBluetoothRadio,Int64) | Fires the | |
DoDiscoveringCompleted(TwclBluetoothRadio,Integer) | Fires the | |
DoDiscoveringStarted(TwclBluetoothRadio) | Fires the | |
DoIoCapabilityRequest(TwclBluetoothRadio,Int64,TwclBluetoothMitmProtection,TwclBluetoothIoCapability,Boolean) | Fires the | |
DoNumericComparison(TwclBluetoothRadio,Int64,Cardinal,Boolean) | Fires the | |
DoOobDataRequest(TwclBluetoothRadio,Int64,TwclBluetoothOobData) | Fires the | |
DoPasskeyNotification(TwclBluetoothRadio,Int64,Cardinal) | Fores the | |
DoPasskeyRequest(TwclBluetoothRadio,Int64,Cardinal) | Fires the | |
DoPinRequest(TwclBluetoothRadio,Int64,string) | Fires the | |
DoProtectionLevelRequest(TwclBluetoothRadio,Int64,TwclBluetoothLeProtectionLevel) | Fires the | |
DoStatusChanged(TwclBluetoothRadio) | Fires the | |
GetClassicRadio(TwclBluetoothRadio) | Overloaded. Gets the first available Radio object that supports Classic Bluetooth features. | |
GetLeRadio(TwclBluetoothRadio) | Overloaded. Gets the first available Radio object that supports Bluetooth Low Energy features. | |
GetRadio(TwclBluetoothRadio) | Overloaded. Gets the first available Radio object. | |
Open(Boolean) | Overloaded. Opens the Bluetooth Manager and allocated required hardware resources. | |
Open(TwclBluetoothApis,Boolean) | Overloaded. Opens the Bluetooth Manager and allocated required hardware resources. |
Name | Description | |
---|---|---|
OnAuthenticationCompleted | The event fires when authentication (pairing) with a remote Bluetooth device has completed. | |
OnConfirm | The event fires when a remote Bluetooth device requires a pairing confirmation. | |
OnDeviceFound | The event fires when a new remote Bluetooth device found during discovering. | |
OnDiscoveringCompleted | The event fires when discovering for remote Bluetooth devices has been completed. | |
OnDiscoveringStarted | The event fires when discovering for remote Bluetooth devices has been started. | |
OnIoCapabilityRequest | The event fires when a remote device requests an IO capability of the local Bluetooth device. | |
OnNumericComparison | The event fires when a remote Bluetooth device requires a numeric comparison pairing. | |
OnOobDataRequest | The veen tfires when a remote device requests an Out Of Band pairing data. | |
OnPasskeyNotification | The event fires when a remote Bluetooth device notifies an application about its passkey. | |
OnPasskeyRequest | The event fires when a remote Bluetooth device requires a passkey for pairing. | |
OnPinRequest | The event fires when a remote Bluetooth device requires a legacy PIN pairing. | |
OnProtectionLevelRequest | The event fires during BLE pairing to request required pairing protection level. | |
OnStatusChanged | 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.