REST.Backend.PushTypes.TBackendPushDeviceApi.TryGetInstallationValue
Delphi
function TryGetInstallationValue(out AValue: TBackendEntityValue): Boolean;
C++
bool __fastcall TryGetInstallationValue(/* out */ Rest::Backend::Metatypes::TBackendEntityValue &AValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | REST.Backend.PushTypes.pas REST.Backend.PushTypes.hpp |
REST.Backend.PushTypes | TBackendPushDeviceApi |
Description
Tries to get the identify of the installation object after a device has been registered. Returns True
if the identity is available.
Use the TBackendEntityValue.ObjectID property to retrieve the object ID of the installation object.
TryGetInstallationValue checks if the provider supports the IBackendPushDeviceApi2 interface. If yes, TryGetInstallationValue calls IBackendPushDeviceApi2.TryGetInstallationValue.
Otherwise, TryGetInstallationValue returns False
.