System.Tether.Manager.TTetheringAdapter.GetTargetConnection
Delphi
function GetTargetConnection(const Port, Offset: Integer): string; virtual; abstract;
C++
virtual System::UnicodeString __fastcall GetTargetConnection(const int Port, const int Offset) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | System.Tether.Manager.pas System.Tether.Manager.hpp  | 
        System.Tether.Manager | TTetheringAdapter | 
Description
- 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.