System.Tether.Manager.TTetheringManager.OnEndProfilesDiscovery
Delphi
property OnEndProfilesDiscovery: TTetheringEndProfilesDiscoveryEvent read FOnEndProfilesDiscovery write FOnEndProfilesDiscovery;
C++
__property TTetheringEndProfilesDiscoveryEvent OnEndProfilesDiscovery = {read=FOnEndProfilesDiscovery, write=FOnEndProfilesDiscovery};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManager |
Description
Occurs when the operation to discover remote profiles published by a remote manager finishes, either successfully or due to a time out.
When your manager pairs with a remote manager, each manager requests the other manager information about the profiles that the other manager provides. After your manager requests the profile information from the remote manager, your manager waits for some time (5 seconds by default) for a response.
OnEndProfilesDiscovery occurs as soon as either of the following conditions is met:
- Your manager receives information about the remote profiles within the maximum response time (timeout).
- The maximum time passes and your manager does not receive information about the remote profiles.
The event handler of OnEndProfilesDiscovery receives the following parameters:
Sender
is your manager.RemoteProfiles
is a list of the remote profiles that the remote manager publishes.
See Also
- System.Tether.Manager.TTetheringManager
- System.Tether.Manager.TTetheringProfileInfoList
- System.Tether.Manager.TTetheringProfileInfo
- System.Tether.Manager.TTetheringManager.PairManager
- System.Tether.Manager.TTetheringManager.DiscoverProfiles
- MediaPlayer sample
- PhotoWall sample