Class RecallNotificationMessage

  • All Implemented Interfaces:

    
    public class RecallNotificationMessage
    
                        

    撤回通知消息类

    撤回通知消息类,当用户撤回消息或者收到一条撤回信令消息时,需要根据此通知消息在界面上进行展示。

    • Constructor Detail

      • RecallNotificationMessage

        RecallNotificationMessage(String operatorId, long recallTime, String originalObjectName, boolean isAdmin, boolean isDelete)
      • RecallNotificationMessage

        RecallNotificationMessage(String operatorId, long recallTime, String originalObjectName, boolean isAdmin, boolean isDelete, String recallContent, long recallActionTime)
      • RecallNotificationMessage

        RecallNotificationMessage(Array<byte> data)
      • RecallNotificationMessage

        RecallNotificationMessage(Parcel in)
    • Method Detail

      • getRecallContent

         String getRecallContent()

        获取撤回消息的内容

        Returns:

        撤回消息的内容

      • setRecallContent

         void setRecallContent(String recallContent)

        设置撤回消息的内容

      • getRecallActionTime

         long getRecallActionTime()

        获取撤回消息的发送时间

        Returns:

        撤回消息的发送时间

      • setRecallActionTime

         void setRecallActionTime(long recallActionTime)

        设置撤回消息的发送时间

        Parameters:
        recallActionTime - 撤回消息的发送时间
      • encode

         Array<byte> encode()

        序列化需要传输的数据。

        Returns:

        序列化被传输的数据。

      • getOperatorId

         String getOperatorId()

        获取发起撤回消息的用户 id

        Returns:

        发起撤回消息的用户 id

      • getRecallTime

         long getRecallTime()

        获取撤回的时间(毫秒)

        Returns:

        撤回的时间(毫秒)

      • getOriginalObjectName

         String getOriginalObjectName()

        获取原消息的消息类型名

        Returns:

        原消息的消息类型名

      • isAdmin

         boolean isAdmin()

        是否是管理员操作

        Returns:

        是否是管理员操作

      • isDelete

         boolean isDelete()

        是否删除

        Returns:

        是否删除