Interface UnbluNotification

  • public interface UnbluNotification
    • Method Detail

      • getTitle

        java.lang.String getTitle()
        the title of the notification
      • getBody

        java.lang.String getBody()
        The body of the notification
      • getIcon

        int getIcon()
        icon id of the Unblu notification
      • getSound

        java.lang.String getSound()
        The sound name of the Unblu notification.
        This can be "default" to have the default sound for the notifications of the system or the name of a file inside the top level raw folder. If it is null also the default is used.
        Note: This is only used for older android devices if there are no channels (version > Android O)
      • getChannelId

        java.lang.String getChannelId()
        The id of the channel of the Unblu notification
      • getData

        java.util.Map<java.lang.String,​java.lang.String> getData()
        The additional data of the Unblu notification
      • setTitle

        void setTitle​(@Nullable
                      java.lang.String title)
      • setBody

        void setBody​(@Nullable
                     java.lang.String body)
      • setIcon

        void setIcon​(int icon)
      • setSound

        void setSound​(@Nullable
                      java.lang.String sound)
      • setChannelId

        void setChannelId​(@Nullable
                          java.lang.String channelId)
      • setData

        void setData​(java.util.Map<java.lang.String,​java.lang.String> data)