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);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
procedure function |
protected | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
説明
接続されたリモート プロファイルが送信する文字列を提供します。 {{#multireplace:System.Tether.AppProfile.TTetheringAppProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:System.Tether.Manager.TTetheringProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:System.Tether.Manager.TTetheringProfile.OnStringReceived|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。
接続されたリモート プロファイルが送信する文字列を提供します。
接続されたリモート プロファイル(TTetheringAppProfile インスタンスなど)からこのプロファイルに文字列が送信されると、その文字列を OnStringReceived の AString パラメータから読み取ることができます。
OnStringReceived が受け取るパラメータは次のとおりです。
Sender:接続されたリモート プロファイルから文字列を受け取るプロトコルです。AProfileId:文字列を送信する、接続されたリモート プロファイルの識別子です。AString: 文字列です。ADescription: 文字列の内容について記述した文字列です。
関連項目
- System.Tether.Manager.TTetheringProtocol
- System.Tether.Manager.TTetheringProfileInfo.ProfileIdentifier
- System.String
- System.String