Class AppNotificationMessage


  • public class AppNotificationMessage
    extends Object
    A notification sent to an application.
    Instances of this class are thread-safe and immutable.
    See Also:
    AppNotificationHandler
    • Method Detail

      • getAndroidIconColor

        public String getAndroidIconColor()
        The color in #rrggbb format (e.g: #23AB34) used to colorize the small notification icon shown in Android devices. By default, no color is sent. Device support depends on the Android version;
      • getBody

        public String getBody()
      • getCustomUrl

        public String getCustomUrl()
        The URL inside the mobile app which will be opened when the user opens the app notification
      • getImageUrl

        public String getImageUrl()
        The url of the image associated with the push notification. If not given, the user's profile image is used (only for users, not operators);
      • getTitle

        public String getTitle()
      • isIosUseBadge

        public boolean isIosUseBadge()
        A boolean flag indicating if a badge must be shown for iOS notifications. Default is true;