Class RecallNotificationMessage

  • All Implemented Interfaces:

    
    public class RecallNotificationMessage
    
                        

    Message Recall Notification Class

    The message recall notification class is used to display notifications on the UI when a user recalls a message or receives a recall signal message.

    • 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()

        Get the content of the recalled message

        Returns:

        The content of the recalled message

      • setRecallContent

         void setRecallContent(String recallContent)

        Sets the content for recalled messages

      • getRecallActionTime

         long getRecallActionTime()

        Get the send time of the recalled message

        Returns:

        Specifies the send time of the recalled message

      • setRecallActionTime

         void setRecallActionTime(long recallActionTime)

        Sets the send time of the recalled message

        Parameters:
        recallActionTime - The send time of the recalled message
      • encode

         Array<byte> encode()

        Serializes the data that needs to be transmitted.

        Returns:

        The serialized data to be transmitted.

      • getOperatorId

         String getOperatorId()

        Retrieves the user ID of the user who initiated the message recall.

        Returns:

        The user ID of the user who initiated the message recall.

      • getRecallTime

         long getRecallTime()

        Get the recall time in milliseconds

        Returns:

        The recall time in milliseconds

      • getOriginalObjectName

         String getOriginalObjectName()

        Retrieves the message type name of the original message.

        Returns:

        The message type name of the original message.

      • isAdmin

         boolean isAdmin()

        Indicates whether the operation is performed by an administrator

        Returns:

        Indicates whether the operation is performed by an administrator

      • isDelete

         boolean isDelete()

        Whether to delete

        Returns:

        Indicates whether to delete