System.Tether.BluetoothAdapter.TTetheringBluetoothManagerCommunicationThread.Create
Delphi
constructor Create(const AnAdapter: TTetheringAdapter); override;
C++
__fastcall virtual TTetheringBluetoothManagerCommunicationThread(System::Tether::Manager::TTetheringAdapter* const AnAdapter);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| constructor | public | System.Tether.BluetoothAdapter.pas System.Tether.BluetoothAdapter.hpp |
System.Tether.BluetoothAdapter | TTetheringBluetoothManagerCommunicationThread |
Description
Crée une instance de TTetheringBluetoothManagerCommunicationThread.
Il crée un socket serveur et un socket client pour communiquer sur Classic Bluetooth.
Le constructeur TTetheringBluetoothManagerCommunicationThread reçoit le paramètre suivant :
AnAdapterest l'instance de TTetheringBluetoothAdapter qui possède la nouvelle instance de TTetheringBluetoothManagerCommunicationThread.