com.APNS methods

Methods of the com.APNS class.

Table 1. Class methods
Name Description
com.APNS.DecodeError(
   data BYTE)
  RETURNING uuid STRING, error INTEGER
Decodes content of BYTE data returned from the APNS server in case of error.
com.APNS.DecodeFeedback(
   data BYTE,
   unregs DYNAMIC ARRAY OF RECORD
          timestamp INTEGER,
          deviceToken STRING
       END RECORD
   )
Decodes content of BYTE data returned from the APNS feedback service.
com.APNS.EncodeMessage(
   data BYTE,
   deviceToken STRING,
   json STRING,
   uuid STRING,
   expiration INTEGER,
   priority SMALLINT)
  RETURNING result INTEGER
Encodes an APNS specific push notification message into a BYTE.