System.Tether.AppProfile.TTetheringAppProfile.NotifyProfileUpdates
Delphi
property NotifyProfileUpdates: Boolean read FNotifyProfileUpdates write FNotifyProfileUpdates;
C++
__property bool NotifyProfileUpdates = {read=FNotifyProfileUpdates, write=FNotifyProfileUpdates, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
Description
Specifies whether changes to local Actions and Resources should send update notifications automatically to connected remote profiles (True
) or not (False
).
Even if you have NotifyProfileUpdates as True
, you might want to turn it off temporarily if you are about to change several local items in a row, and call NotifyProfileUpdate after your changes so that there is only one notification about all changes:
In C++:
NotifyProfileUpdates = false;
// Make several changes to local items.
NotifyProfileUpdate();
NotifyProfileUpdates = true;
In Delphi:
NotifyProfileUpdates := False;
// Make several changes to local items.
NotifyProfileUpdate;
NotifyProfileUpdates := True;