Interface PushResult


public interface PushResult
The information of each notification handed over to a push gateway
  • Method Details

    • getTarget

      String getTarget()
      The device registration ID
    • getNotificationId

      String getNotificationId()
      The notification ID. This can be used to retrieve the current status of the notification via PushClient.getNotificationStatus(String)
    • getCode

      Integer getCode()
      the completion code. Possible values are
      • -1 - Notification was queued. The communication with the native push provider failed.
      • 0 - Notification was sent.
      • 1 - Notification was rejected because of invalid data.
      • 2 - Notification was rejected because the target type was not found / invalid.
      • 3 - Notification could not be queued. See error details.
      • 4 - The notification configuration has expired.
      • 5 - The push token in the registration is missing. The device must obtain a new push token.
      • 6 - The device token was rejected by the native push provider.
      • 7 - The device registration has expired and the device must register again.
      • 8 - Too many notifications were sent to the device and the notification was rejected. Notifications will resume once the number is reduced.
      • 9 - The native notification is too large. Reduce the notification size.
      • 10 - Notification was not accepted by the native push provider. See the notification for details.
      • 11 - Recoverable IO problem while sending the notification to the native push provider. The notification was queued.
      • 12 and 13 - The communication with the native push provider failed. The notification was not queued. Please retry later and raise a support ticket with the full request and response, including headers and body.
      • 14 - The notification quota for the push provider has been exceeded. Reduce the number of notifications sent by the back-end for this native push provider.
    • getMessage

      String getMessage()
      Status text