ChatRoomKVNotiMessage

Chatroom Custom Attribute Notification Message

Do not manually construct and send this type of message. It is automatically generated when calling the set or delete interface. This message is not stored and does not count towards unread message count.

Constructors

Link copied to clipboard
public void ChatRoomKVNotiMessage(Array<byte> data)
public void ChatRoomKVNotiMessage(Parcel in)

Types

Link copied to clipboard
public enum NotificationType

Properties

Link copied to clipboard
public final static Creator<ChatRoomKVNotiMessage> CREATOR
Link copied to clipboard
public String key
Link copied to clipboard
public int type
Link copied to clipboard
public String value

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public Array<byte> encode()
Link copied to clipboard
public String getKey()
Retrieves the key for chatroom message storage
Link copied to clipboard
public static String getTAG()
Link copied to clipboard
public int getType()
Retrieves the type of messages stored in the chatroom.
Link copied to clipboard
public String getValue()
Retrieves the stored message data of the chatroom
Link copied to clipboard
@Deprecated()
public static ChatRoomKVNotiMessage obtain(String key, String value, int type, String extra)
public static ChatRoomKVNotiMessage obtain(String key, String value, ChatRoomKVNotiMessage.NotificationType type, String extra)
Link copied to clipboard
public void setKey(String key)
Sets the key for storing chatroom messages
Link copied to clipboard
@Deprecated()
public void setType(int type)

Sets the chatroom message storage type
Link copied to clipboard
public void setValue(String value)
Sets the chatroom message storage data
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)