Class RichContentItem

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public String title
      public String digest
      public String imageUrl
      public String url
      public final static Creator<RichContentItem> CREATOR
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getTitle() Get the message title
      void setTitle(String title) Set Message Title
      String getDigest() Get summary information
      void setDigest(String digest) Set digest information
      String getImageUrl() Get the image URL of the message.
      void setImageUrl(String imageUrl) Sets the image URL for the message.
      String getUrl() Get the message URL
      void setUrl(String url) Set message URL
      void writeToParcel(Parcel dest, int flags)
      int describeContents()
      • Methods inherited from class java.lang.Object

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

      • RichContentItem

        RichContentItem(JSONObject jsonObj)
      • RichContentItem

        RichContentItem(String jsonStr)
      • RichContentItem

        RichContentItem(Parcel in)
    • Method Detail

      • getTitle

         String getTitle()

        Get the message title

        Returns:

        The message title

      • setTitle

         void setTitle(String title)

        Set Message Title

        Parameters:
        title - The title of the message
      • getDigest

         String getDigest()

        Get summary information

        Returns:

        Summary information

      • setDigest

         void setDigest(String digest)

        Set digest information

        Parameters:
        digest - Digest information
      • getImageUrl

         String getImageUrl()

        Get the image URL of the message.

        Returns:

        The image URL

      • setImageUrl

         void setImageUrl(String imageUrl)

        Sets the image URL for the message.

        Parameters:
        imageUrl - The URL of the image
      • getUrl

         String getUrl()

        Get the message URL

        Returns:

        The message URL

      • setUrl

         void setUrl(String url)

        Set message URL

        Parameters:
        url - The message URL