System.Tether.Manager.TTetheringManager.OnNewManager
Delphi
property OnNewManager: TTetheringNewManagerEvent read FOnNewManager write FOnNewManager;
C++
__property TTetheringNewManagerEvent OnNewManager = {read=FOnNewManager, write=FOnNewManager};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManager |
Description
Occurs when a new remote tethering manager starts listening to other managers in range.
For example, if your manager has an adapter of type TTetheringNetworkAdapterCommon, OnNewManager occurs when a new remote manager starts listening to other managers on the same subnet of a local area network (LAN).
- Note: Managers can connect to remote managers outside their subnet. However, managers cannot listen to remote managers outside of their subnet.
The event handler of OnNewManager receives the following parameters:
Sender
is your manager.AManager
is an instance of TTetheringManagerInfo with information about the remote manager that started listening.