System.Tether.Manager.TTetheringManagerCommunicationThread.AddProfiles

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddProfiles(const AConnectionString, AData: string);

C++

void __fastcall AddProfiles(const System::UnicodeString AConnectionString, const System::UnicodeString AData);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringManagerCommunicationThread

Description

Handles a string with data about remote profiles sent by a remote adapter in response to a profiles discovery request by the adapter of your communication thread.

AddProfiles receives a string, AData, that contains a serialized list of remote profiles.

If there is an event handler defined for NotifyEndProfileDiscovery, AddProfiles creates an instance of TTetheringProfileInfoList, fills that list with the information in AData, and triggers the NotifyEndProfileDiscovery event, passing the unserialized profiles data to its event handler.

See Also