Class PushNotificationElement


  • public class PushNotificationElement
    extends java.lang.Object
    Object that represents a push notification element, i.e. the actual notification object seen on the bar of a mobile phone
    • Constructor Summary

      Constructors 
      Constructor Description
      PushNotificationElement()  
      PushNotificationElement​(java.lang.String title, java.lang.String body, java.lang.String icon, java.util.Map<java.lang.String,​java.lang.String> extraProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBody()  
      java.util.Map<java.lang.String,​java.lang.String> getExtraProperties()  
      java.lang.String getIcon()  
      java.lang.String getTitle()  
      void setBody​(java.lang.String body)  
      void setExtraProperties​(java.util.Map<java.lang.String,​java.lang.String> extraProperties)  
      void setIcon​(java.lang.String icon)  
      void setTitle​(java.lang.String title)  
      java.lang.String toString()  
      void validate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PushNotificationElement

        public PushNotificationElement()
      • PushNotificationElement

        public PushNotificationElement​(java.lang.String title,
                                       java.lang.String body,
                                       java.lang.String icon,
                                       java.util.Map<java.lang.String,​java.lang.String> extraProperties)
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
      • setTitle

        public void setTitle​(java.lang.String title)
      • getBody

        public java.lang.String getBody()
      • setBody

        public void setBody​(java.lang.String body)
      • getIcon

        public java.lang.String getIcon()
      • setIcon

        public void setIcon​(java.lang.String icon)
      • getExtraProperties

        public java.util.Map<java.lang.String,​java.lang.String> getExtraProperties()
      • setExtraProperties

        public void setExtraProperties​(java.util.Map<java.lang.String,​java.lang.String> extraProperties)
      • validate

        public void validate()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toString

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