API:System.Tether.BluetoothAdapter.TTetheringBluetoothAdapter.GetTargetConnection
Delphi
function GetTargetConnection(const Port, Offset: Integer): string; override;
C++
virtual System::UnicodeString __fastcall GetTargetConnection(const int Port, const int Offset);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Tether.BluetoothAdapter.pas System.Tether.BluetoothAdapter.hpp |
System.Tether.BluetoothAdapter | TTetheringBluetoothAdapter |
Description
Returns the target to connect.
System.Tether.BluetoothAdapter.TTetheringBluetoothAdapter.GetTargetConnection inherits from System.Tether.Manager.TTetheringAdapter.GetTargetConnection. All content below this line refers to System.Tether.Manager.TTetheringAdapter.GetTargetConnection.
- Note: This is an abstract method that technology-specific subclasses of Tethering adapter implement.
Returns the target to connect.
GetTargetConnection returns the target device or service that is used to connect to.
- For network communications, GetTargetConnection returns the TCP port number.
- For Classic Bluetooth, GetTargetConnection returns the UUID of the service.