API:System.Tether.NetworkAdapter.TTetheringNetworkAdapter.GetAutomaticTimeout
Delphi
function GetAutomaticTimeout: Cardinal; override;
C++
virtual unsigned __fastcall GetAutomaticTimeout(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkAdapter |
Description
Returns the timeout period to discover remote managers {{#multireplace:System.Tether.NetworkAdapter.TTetheringNetworkAdapter.GetAutomaticTimeout|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Tether.Manager.TTetheringAdapter.GetAutomaticTimeout|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Tether.Manager.TTetheringAdapter.GetAutomaticTimeout|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
- Note: This is an abstract method that technology-specific subclasses of Tethering adapter implement.
Returns the timeout period to discover remote managers.
- For TTetheringNetworkAdapter: the default discovery timeout is 1.9 seconds.
- For TTetheringBluetoothAdapter: the discovery timeout depends on the number of Bluetooth devices that are paired.