System.Tether.AppProfile.TTetheringAppProfile.NotifyUpdate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Sends a notification to connected remote profiles subscribed to the specified resource with the current data of the resource. See Subscribing to Remote Resources Using SubscribeToRemoteItem.

This method receives the following parameters:

Tip: Call Broadcast on the target TCustomLocalItem instead of using NotifyUpdate. Broadcast has the same effect as calling NotifyUpdate(LocalItem, LocalItem.ToJsonString) on the application profile of LocalItem.

See Also