Class PushNotificationEvent


  • public class PushNotificationEvent
    extends java.lang.Object
    Push notification event generated when a push notification state changes, e.g. a notification has been sent successfully, or when the operation failed, the client unknown or the push service is stopped.
    Author:
    Christopher Mindus
    • Method Detail

      • getException

        public java.lang.Throwable getException()
        Gets the exception in case an error occurred, i.e. if getState() returns PushNotificationState.ERROR.
        Returns:
        The exception, or null for none.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object