REST.Backend.KinveyApi.TKinveyApi.PushUnregisterDevice
Delphi
procedure PushUnregisterDevice(APlatformType: TPlatformType; const ADeviceID, AUserID: string); overload;
procedure PushUnregisterDevice(APlatformType: TPlatformType; const ADeviceID: string; const AUser: TUser); overload;
procedure PushUnregisterDevice(APlatformType: TPlatformType; const ADeviceID: string); overload;
C++
void __fastcall PushUnregisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID, const System::UnicodeString AUserID)/* overload */;
void __fastcall PushUnregisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID, const TUser &AUser)/* overload */;
void __fastcall PushUnregisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID)/* 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 unregister 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 unregister. |
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. |