System.Tether.AppProfile.TRemoteResource.UpdateValue
Delphi
procedure UpdateValue(ADataType: TResourceType; const AJSONValue: TJSONValue);
C++
void __fastcall UpdateValue(TResourceType ADataType, System::Json::TJSONValue* const AJSONValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TRemoteResource |
Description
Updates the data type and value of the resource.
ADataType
is an instance of TResourceType. AJSONValue
is an instance of a subclass of TJSONValue (TJSONNumber or TJSONString depending on the specified resource type) that contains the new value for the resource.