Class GroupReadReceiptInfoV2

  • All Implemented Interfaces:

    
    public class GroupReadReceiptInfoV2
    
                        

    只有采用群已读回执V2版本,群组的消息才需要此属性,V1版本或其它非群组类型会话中本属性为 NULL

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<GroupMessageReader> getRespondUserIdList() 获取会话中响应过该消息回执的成员 userId 列表(key: userId,value: respondTime)。
      void setRespondUserIdList(List<GroupMessageReader> respondUserIdList) 设置会话中响应过该消息回执的成员列表
      int getReadCount()
      void setReadCount(int readCount)
      int getTotalCount()
      void setTotalCount(int totalCount)
      JSONObject toJSON()
      boolean hasRespond() 是否发送过消息回执响应(仅对消息接收方有效)。
      int describeContents()
      void writeToParcel(Parcel dest, int flags)
      String toString()
      void setHasRespond(boolean hasRespond) 设置是否发送过消息回执响应(仅对消息接收方有效)。
      • Methods inherited from class java.lang.Object

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

      • GroupReadReceiptInfoV2

        GroupReadReceiptInfoV2()
      • GroupReadReceiptInfoV2

        GroupReadReceiptInfoV2(String jsonString)
      • GroupReadReceiptInfoV2

        GroupReadReceiptInfoV2(Parcel in)
    • Method Detail

      • getRespondUserIdList

         List<GroupMessageReader> getRespondUserIdList()

        获取会话中响应过该消息回执的成员 userId 列表(key: userId,value: respondTime)。

        Returns:

        会话中响应过该消息回执的成员 userId 列表(key: userId,value: respondTime)。

      • setRespondUserIdList

         void setRespondUserIdList(List<GroupMessageReader> respondUserIdList)

        设置会话中响应过该消息回执的成员列表

        Parameters:
        respondUserIdList - 会话中响应过该消息回执的成员列表
      • hasRespond

         boolean hasRespond()

        是否发送过消息回执响应(仅对消息接收方有效)。

        Returns:

        是否发送过消息回执响应(仅对消息接收方有效)。

      • setHasRespond

         void setHasRespond(boolean hasRespond)

        设置是否发送过消息回执响应(仅对消息接收方有效)。

        Parameters:
        hasRespond - 是否发送过消息回执响应(仅对消息接收方有效)。