System.Tether.AppProfile.TTetheringAppProfile.DoResourceUpdated

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoResourceUpdated(LRemoteRes: TRemoteResource); virtual;

C++

virtual void __fastcall DoResourceUpdated(TRemoteResource* LRemoteRes);

Properties

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

Description

Called when the application profile receives a notification about the update of a resource sent from a remote application profile.

This method receives a single parameter, AResource, which is the received remote resource.

If the profile of the remote resource is in the same Group as this application profile, DoResourceUpdated searches the Resources collection for a local resource with TTetheringRemoteKind.Mirror as Kind and the same Name as the remote resource. If it finds such a local resource, DoResourceUpdated updates this resource and calls DoResourceReceived on the local, mirror resource.

Otherwise, and if there is an event handler associated with the OnRemoteProfileUpdate event, DoResourceUpdated calls that event handler.

See Also