com.APNS methods

Methods of the com.APNS class.

Table 1. Class methods
Name Description
com.APNS.DecodeError(
   data BYTE)
  RETURNS (uuid STRING, error INTEGER)
Decodes content of BYTE data returned from the APNS server in case of error.
com.APNS.DecodeFeedback(
   data BYTE,
   unregs  RECORD
   )
Decodes content of BYTE data returned from the APNS feedback service.
com.APNS.EncodeMessage(
   data BYTE,
   deviceIdBase64 STRING,
   json STRING,
   uuidBase64 STRING,
   expiration INTEGER,
   priority INTEGER)
  RETURNS INTEGER
Encodes an APNS specific push notification message into a BYTE.