System.Tether.AppProfile.TTetheringAppProfile.NotifyUpdate

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure NotifyUpdate(ALocalItem: TCustomLocalItem; const Data: string = '');

C++

void __fastcall NotifyUpdate(TCustomLocalItem* ALocalItem, const System::UnicodeString Data = System::UnicodeString());

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile


説明

リソースの現在のデータと共に指定されたリソースに登録されている、接続リモート プロファイルへ、通知を送信します。 「SubscribeToRemoteItem を使ってリモート リソースをサブスクライブする」を参照してください。

このメソッドは、次のパラメータを受け取ります:

ヒント: NotifyUpdate を使用する代わりに、Broadcast をターゲット TCustomLocalItem に対して呼び出します。Broadcast は、NotifyUpdate(LocalItem, LocalItem.ToJsonString) を、LocalItem のアプリケーション プロファイルに対して呼び出すのと、同じ効果があります。

関連項目