System.Tether.Manager.TTetheringAdapter.StartProfilesDiscovery

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure StartProfilesDiscovery(const ARemoteManager: TTetheringManagerInfo; Timeout: Cardinal); virtual;

C++

virtual void __fastcall StartProfilesDiscovery(const TTetheringManagerInfo &ARemoteManager, unsigned Timeout);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringAdapter

Description

Starts the discovery of remote profiles provided by the specified remote manager, with the specified maximum time.

After a pairing operation finishes successfully, your adapter calls either DoPairedFromLocal or DoPairedToRemote.

Both of these methods call TTetheringManager.DiscoverProfiles, which in turns calls StartProfilesDiscovery on the local adapter used for connections to the specified remote manager.

TTetheringAdapter.StartProfilesDiscovery sends a request of type TetheringDiscoverProfiles to the remote adapter, and creates the discover profiles timer to wait for the response of the remote adapter.

The remote adapter sends the data from ProfilesInfo to your local adapter. Your local adapter calls AddProfiles to add the remote profiles.

See Also