System.Tether.Manager.TTetheringManager.OnEndManagersDiscovery
Delphi
property OnEndManagersDiscovery: TTetheringEndManagersDiscoveryEvent read FOnEndManagersDiscovery write FOnEndManagersDiscovery;
C++
__property TTetheringEndManagersDiscoveryEvent OnEndManagersDiscovery = {read=FOnEndManagersDiscovery, write=FOnEndManagersDiscovery};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManager |
Description
Occurs when a manager discovery operation started by a call to DiscoverManagers finishes.
DiscoverManagers procedures start a discovery operation on all your manager adapters, calling StartManagersDiscovery on those adapters respectively.
When the discovery operation finishes, the internal timer started on each adapter by StartManagersDiscovery calls EndManagersTimer on the adapter. EndManagersTimer triggers OnEndManagersDiscovery.
- Note: OnEndManagersDiscovery does not occur if you cancel the discovery with CancelDiscoverManagers.
The event handler for OnEndManagersDiscovery receives the following parameters:
Sender
is your manager.RemoteManagers
is a list of remote managers.
See Also
- System.Tether.Manager.TTetheringManager.DiscoverManagers
- System.Tether.Manager.TTetheringAdapter.StartManagersDiscovery
- System.Tether.Manager.TTetheringAdapter.EndManagersTimer
- MediaPlayer sample
- PhotoWall sample