System.Tether.BluetoothAdapter.TTetheringBluetoothManagerCommunicationThread.Create
Delphi
constructor Create(const AnAdapter: TTetheringAdapter; const AEvent: TEvent); override;
C++
__fastcall virtual TTetheringBluetoothManagerCommunicationThread(System::Tether::Manager::TTetheringAdapter* const AnAdapter, System::Syncobjs::TEvent* const AEvent);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | System.Tether.BluetoothAdapter.pas System.Tether.BluetoothAdapter.hpp |
System.Tether.BluetoothAdapter | TTetheringBluetoothManagerCommunicationThread |
Description
Creates an instance of TTetheringBluetoothManagerCommunicationThread.
It creates a server and a client sockets to communicate over Classic Bluetooth.
TTetheringBluetoothManagerCommunicationThread constructor receives the following parameters:
AnAdapteris the instance of TTetheringBluetoothAdapter that owns the new instance of TTetheringBluetoothManagerCommunicationThread.AEventis a TEvent. You can use this event to wait for the thread to finish its execution.