public class ChatRoomInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
ChatRoomInfo() |
protected |
ChatRoomInfo(Parcel in)
********************************** Serialization **********************************
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getAnnouncement()
Get the chat room announcement
|
java.lang.String |
getBroadcastUrl()
Get the streaming URL
|
java.lang.String |
getCreator()
Get the account of a chat room owner
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtension()
Get the extension field of a chat room
|
java.lang.String |
getName()
Get the chat room name
|
int |
getOnlineUserCount()
Get the number of online users
|
int |
getQueueLevel()
Get the queue permission configuration
|
java.lang.String |
getRoomId()
Get the chat room ID
|
boolean |
isMute()
Get the mute state of a chat room
|
boolean |
isValid()
Get the validity tag of a chat room
|
void |
setAnnouncement(java.lang.String announcement)
Set a chat room announcement
|
void |
setBroadcastUrl(java.lang.String broadcastUrl)
Set the streaming URL
|
void |
setCreator(java.lang.String creator)
Set the owner of a chat room
|
void |
setExtension(java.util.Map<java.lang.String,java.lang.Object> extension)
Set the extension field
|
void |
setMute(int mute)
Set the mute state of the current chat room
|
void |
setName(java.lang.String name)
Set a chat room name
|
void |
setOnlineUserCount(int onlineUserCount)
Set the number of online users
|
void |
setQueueLevel(int queueLevel)
Set the queue permissions to add keys and messages from others to the queue
0: all users have the permissions.
|
void |
setRoomId(java.lang.String roomId)
Set a chat room ID
|
void |
setValidFlag(int validFlag)
Set the validity flag of a chat room
|
void |
writeToParcel(Parcel dest,
int flags) |
public ChatRoomInfo()
protected ChatRoomInfo(Parcel in)
public java.lang.String getRoomId()
public java.lang.String getName()
public java.lang.String getAnnouncement()
public java.lang.String getBroadcastUrl()
public java.lang.String getCreator()
public boolean isValid()
public java.util.Map<java.lang.String,java.lang.Object> getExtension()
public int getOnlineUserCount()
public boolean isMute()
public void setRoomId(java.lang.String roomId)
roomId
- The ID of a chat roompublic void setName(java.lang.String name)
name
- chat room namepublic void setAnnouncement(java.lang.String announcement)
announcement
- announcementpublic void setBroadcastUrl(java.lang.String broadcastUrl)
broadcastUrl
- streaming URLpublic void setCreator(java.lang.String creator)
creator
- public void setValidFlag(int validFlag)
validFlag
- validity flag of a chat roompublic void setExtension(java.util.Map<java.lang.String,java.lang.Object> extension)
extension
- extension fieldpublic void setOnlineUserCount(int onlineUserCount)
onlineUserCount
- number of online userspublic void setMute(int mute)
mute
- mute state of the current chat roompublic void setQueueLevel(int queueLevel)
queueLevel
- public int getQueueLevel()
public int describeContents()
public void writeToParcel(Parcel dest, int flags)