Class HasReceivedNotificationMessage

  • All Implemented Interfaces:

    
    public class HasReceivedNotificationMessage
    
                        

    通知消息

    表示消息已经被收到,不会存入消息历史记录。

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static Creator<HasReceivedNotificationMessage> CREATOR
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean isHasReceived() 获取消息已收到的状态。
      Array<byte> encode() 序列化需要传输的数据。
      int describeContents()
      void writeToParcel(Parcel dest, int flags)
      void setHasReceived(boolean hasReceived) 设置消息已收到的状态。
      • Methods inherited from class java.lang.Object

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

      • HasReceivedNotificationMessage

        HasReceivedNotificationMessage(Parcel in)
    • Method Detail

      • isHasReceived

         boolean isHasReceived()

        获取消息已收到的状态。

        Returns:

        消息已收到的状态

      • encode

         Array<byte> encode()

        序列化需要传输的数据。

        Returns:

        序列化被传输的数据。

      • setHasReceived

         void setHasReceived(boolean hasReceived)

        设置消息已收到的状态。

        Parameters:
        hasReceived - 消息已收到的状态