System.Tether.Manager.TTetheringProfile.OnStringReceived
Delphi
procedure OnStringReceived(const Sender: TObject; const AProfileId: string; const AString: string; const ADescription: string); virtual; abstract;
C++
virtual void __fastcall OnStringReceived(System::TObject* const Sender, const System::UnicodeString AProfileId, const System::UnicodeString AString, const System::UnicodeString ADescription) = 0 ;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfile |
説明
接続されたリモート プロファイルが送信する文字列を提供します。
接続されたリモート プロファイル(TTetheringAppProfile インスタンスなど)からこのプロファイルに文字列が送信されると、その文字列を OnStringReceived の AString
パラメータから読み取ることができます。
OnStringReceived が受け取るパラメータは次のとおりです。
Sender
:接続されたリモート プロファイルから文字列を受け取るプロトコルです。AProfileId
:文字列を送信する、接続されたリモート プロファイルの識別子です。AString
: 文字列です。ADescription
: 文字列の内容について記述した文字列です。
関連項目
- System.Tether.Manager.TTetheringProtocol
- System.Tether.Manager.TTetheringProfileInfo.ProfileIdentifier
- System.String
- System.String