apn_status_classifier
Last updated March 2020
Name
apn_status_classifier — Determine the meaning of the delivery status code
Synopsis
#include "modules/mobility/apn.h"
| int **apn_status_classifier** (
| status)
; | |
Description
**Configuration Change. ** This function is available as of Momentum version 3.5.5.
In the context of an Apple push notification, determine the meaning of the delivery status code. If you need to determine the delivery method use ec_message_get_delivery_method.
- status
-
The "DLV_Response_Status" context variable which contains the protocol-specific error code.
This function returns one of the following values:
-
DELIVERY_SUCCESS
-
DELIVERY_TEMPFAILED
-
DELIVERY_PERMFAILED
It is legal to call this function in any thread.
See Also
Was this page helpful?