Show: Object Pascal C++
Display Preferences

REST.Backend.KinveyApi.TKinveyApi.PushRegisterDevice

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure PushRegisterDevice(APlatformType: TPlatformType; const ADeviceID, AUserID: string); overload;
procedure PushRegisterDevice(APlatformType: TPlatformType; const ADeviceID: string); overload;
procedure PushRegisterDevice(APlatformType: TPlatformType; const ADeviceID: string; const AUser: TUser); overload;

C++

void __fastcall PushRegisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID, const System::UnicodeString AUserID)/* overload */;
void __fastcall PushRegisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID)/* overload */;
void __fastcall PushRegisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID, const TUser &AUser)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Backend.KinveyApi.pas
REST.Backend.KinveyApi.hpp
REST.Backend.KinveyApi TKinveyApi

Description

Sends a POST request in order to register a device.

The request must be authenticated with either user or master credentials.

The parameters for the request are the following:

Parameter Description
<APlatformType> The string containing the possible platform as ios or android.
<ADeviceID> The string indicating the ID of the device to register.
<AUserID> The string indicating the user ID when the request is authenticated using the master credentials. If the request is authenticated with user credentials, it is not necessary to specify the user ID since it is taken as the authenticated user.

See Also

Personal tools
Translations