Class MessageReceivedStatusInfo

  • All Implemented Interfaces:

    
    public final class MessageReceivedStatusInfo
    
                        

    Message received status.

    Uses bit flags to track multiple statuses simultaneously for a received message.

    • 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
      final Boolean isRead() Whether the message has been read
      final Boolean isListened() Whether the voice message has been listened to
      final Boolean isDownloaded() Whether the media file has been downloaded
      final Boolean isRetrieved() Whether the message has been retrieved
      final Boolean isMultipleReceive() Whether the message was received on multiple devices simultaneously
      final Integer getFlag() Returns the status bit flag value
      final Unit setRead() Marks the message as read
      final Unit setListened() Marks the voice message as listened to
      final Unit setDownloaded() Marks the media file as downloaded
      final Unit setRetrieved() Marks the message as retrieved
      final Unit setMultipleReceive() Marks the message as received on multiple devices
      String toString()
      • Methods inherited from class java.lang.Object

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

      • MessageReceivedStatusInfo

        MessageReceivedStatusInfo(Integer flag)
        Parameters:
        flag - the status bit flag value
    • Method Detail

      • isRead

         final Boolean isRead()

        Whether the message has been read

      • isListened

         final Boolean isListened()

        Whether the voice message has been listened to

      • isDownloaded

         final Boolean isDownloaded()

        Whether the media file has been downloaded

      • isRetrieved

         final Boolean isRetrieved()

        Whether the message has been retrieved

      • isMultipleReceive

         final Boolean isMultipleReceive()

        Whether the message was received on multiple devices simultaneously

      • getFlag

         final Integer getFlag()

        Returns the status bit flag value

      • setRead

         final Unit setRead()

        Marks the message as read

      • setListened

         final Unit setListened()

        Marks the voice message as listened to