REST.Backend.ParseApi.TParseApi.CreateAndroidInstallationObject
Delphi
function CreateAndroidInstallationObject(const AInstallationID, ADeviceToken: string; AChannels: array of string): TJSONObject; overload;
function CreateAndroidInstallationObject(const AInstallationID, ADeviceToken: string; const AProperties: TJSONObject): TJSONObject; overload;
function CreateAndroidInstallationObject(const AGCMAppID, AInstallationID, ADeviceToken: string; const AProperties: TJSONObject): TJSONObject; overload;
C++
System::Json::TJSONObject* __fastcall CreateAndroidInstallationObject(const System::UnicodeString AInstallationID, const System::UnicodeString ADeviceToken, System::UnicodeString *AChannels, const int AChannels_High)/* overload */;
System::Json::TJSONObject* __fastcall CreateAndroidInstallationObject(const System::UnicodeString AInstallationID, const System::UnicodeString ADeviceToken, System::Json::TJSONObject* const AProperties)/* overload */;
System::Json::TJSONObject* __fastcall CreateAndroidInstallationObject(const System::UnicodeString AGCMAppID, const System::UnicodeString AInstallationID, const System::UnicodeString ADeviceToken, System::Json::TJSONObject* const AProperties)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | REST.Backend.ParseApi.pas REST.Backend.ParseApi.hpp |
REST.Backend.ParseApi | TParseApi |
Description
Creates a JSON object with the specified data that represents an Android installation.
CreateAndroidInstallationObject receives the following parameters that determine the value of keys of the resulting JSON object:
Parameter | JSON Object Key |
---|---|
AInstallationID
|
installationId
|
ADeviceToken
|
deviceToken
|
AGCMAppID (optional)
|
GCMSenderId
|
AChannels (optional)
|
channels
|
There is an additional optional parameter, AProperties
, which is a JSON object containing additional key-value pairs to add to the resulting JSON object.
See Also
- REST.Backend.ParseApi.TParseApi.CreateIOSInstallationObject
- REST.Backend.ParseApi.TParseApi.UploadInstallation
- REST.Backend.ParseApi.TParseApi.UpdateInstallation
- REST.Backend.ParseApi.TParseApi.DeleteInstallation
- REST.Backend.ParseApi.TParseApi.QueryInstallation
- REST.Backend.ParseApi.TParseApi.RetrieveInstallation