API:System.Tether.AppProfile.TTetheringAppProfile.OnStringReceived

From RAD Studio API Documentation

Delphi

procedure OnStringReceived(const Sender: TObject; const AProfileId: string; const AString: string; const ADescription: string); override;

C++

virtual void __fastcall OnStringReceived(System::TObject* const Sender, const System::UnicodeString AProfileId, const System::UnicodeString AString, const System::UnicodeString ADescription);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile

Description

Provides a string that a connected remote profile sends. {{#multireplace:System.Tether.AppProfile.TTetheringAppProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Tether.Manager.TTetheringProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Tether.Manager.TTetheringProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Provides a string that a connected remote profile sends.

When a connected remote profile, such as an instance of TTetheringAppProfile, sends a string to your profile, you can read this string from the AString parameter of OnStringReceived.

OnStringReceived receives the following parameters:

  • Sender is the protocol that receives the string from a connected remote profile.
  • AProfileId is the identifier of the connected remote profile that sends the string.
  • AString is the string.
  • ADescription is a string that describes the content of the string.

See Also