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() 获取消息标题
      void setTitle(String title) 设置消息标题
      String getDigest() 获取摘要信息
      void setDigest(String digest) 设置摘要信息
      String getImageUrl() 获取消息图片 Imgurl.
      void setImageUrl(String imageUrl) 设置消息的图片 Imgurl.
      String getUrl() 获取消息 url
      void setUrl(String url) 设置消息 url
      int describeContents()
      void writeToParcel(Parcel dest, int flags)
      • Methods inherited from class java.lang.Object

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

      • RichContentItem

        RichContentItem(Parcel in)
      • RichContentItem

        RichContentItem(JSONObject jsonObj)
      • RichContentItem

        RichContentItem(String jsonStr)
    • Method Detail

      • getTitle

         String getTitle()

        获取消息标题

        Returns:

        消息标题

      • setTitle

         void setTitle(String title)

        设置消息标题

        Parameters:
        title - 消息标题
      • getDigest

         String getDigest()

        获取摘要信息

        Returns:

        摘要信息

      • setDigest

         void setDigest(String digest)

        设置摘要信息

        Parameters:
        digest - 摘要信息
      • getImageUrl

         String getImageUrl()

        获取消息图片 Imgurl.

        Returns:

        图片地址

      • setImageUrl

         void setImageUrl(String imageUrl)

        设置消息的图片 Imgurl.

        Parameters:
        imageUrl - 图片地址
      • getUrl

         String getUrl()

        获取消息 url

        Returns:

        消息 url

      • setUrl

         void setUrl(String url)

        设置消息 url

        Parameters:
        url - 消息 url