REST.Backend.PushTypes.TPushData

Delphi
TPushData = class
C++
class PASCALIMPLEMENTATION TPushData : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | REST.Backend.PushTypes.pas REST.Backend.PushTypes.hpp |
REST.Backend.PushTypes | REST.Backend.PushTypes |
Description
Represents a payload that a push notification service sends to a client application, containing a message and, optionally, custom settings for Android, custom settings for iOS and additional data.
You usually do not need to create push data objects; you obtain them from events such as TPushEvents.OnPushReceived. However, if you obtain push data in JSON format, you can create your own push data object and load the received JSON data into it.