API:System.Tether.AppProfile.TTetheringAppProfile.OnStringReceived
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);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
procedure function |
protected | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
Description
Fournit une chaîne envoyée par un profil distant connecté. {{#multireplace:System.Tether.AppProfile.TTetheringAppProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:System.Tether.Manager.TTetheringProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Tout le contenu en-dessous de cette ligne se réfère à {{#multireplace:System.Tether.Manager.TTetheringProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Fournit une chaîne envoyée par un profil distant connecté.
Lorsqu'un profil distant connecté, tel qu'une instance de TTetheringAppProfile, envoie une chaîne à votre profil, vous pouvez lire cette chaîne depuis le paramètre AString de OnStringReceived.
OnStringReceived reçoit les paramètres suivants :
Senderest le protocole qui reçoit la chaîne à partir d'un profil distant connecté.AProfileIdest l'identificateur du profil distant connecté qui envoie la chaîne.AStringest la chaîne.ADescriptionest une chaîne qui décrit le contenu de la chaîne.
Voir aussi
- System.Tether.Manager.TTetheringProtocol
- System.Tether.Manager.TTetheringProfileInfo.ProfileIdentifier
- System.String
- System.String