Interface Message

    • Method Detail

      • getContent

        String getContent()
        Gets the content of the message.
        Returns:
        the message content
      • setDisplayLiveTime

        Message setDisplayLiveTime​(long milliseconds)
        Sets the time to live of the message after to have been displayed.
        Parameters:
        milliseconds - 0 = unlimited
        Returns:
        the message
      • getDisplayLiveTime

        long getDisplayLiveTime()
        Gets the time to live of the message after to have been displayed.
        Returns:
        the time in milliseconds.