Chat SDK for Unity and Windows v1.3.0
Properties | List of all members
AgoraChat.Room Class Reference
Inheritance diagram for AgoraChat.Room:

Properties

string RoomId [get, set]
 
string Name [get, set]
 
string Description [get, set]
 
string Announcement [get, set]
 
int MemberCount [get, set]
 
List< string > AdminList [get, set]
 
List< string > MemberList [get, set]
 
List< string > BlockList [get, set]
 
List< string > MuteList [get, set]
 
int MaxUsers [get, set]
 
string Owner [get, set]
 
bool IsAllMemberMuted [get, set]
 
RoomPermissionType PermissionType [get, set]
 

Detailed Description

The chat room class, which defines chat room information.

Property Documentation

◆ RoomId

string AgoraChat.Room.RoomId
getset

The chat room ID.

◆ Name

string AgoraChat.Room.Name
getset

The chat room name.

◆ Description

string AgoraChat.Room.Description
getset

The chat room description.

◆ Announcement

string AgoraChat.Room.Announcement
getset

The chat room announcement.

◆ MemberCount

int AgoraChat.Room.MemberCount
getset

The number of online members.

◆ AdminList

List<string> AgoraChat.Room.AdminList
getset

The admin list of the chat room.

◆ MemberList

List<string> AgoraChat.Room.MemberList
getset

The member list of the chat room.

To get the member list of the chat room from the server, you can call {@link IRoomManager#FetchRoomMembers(String, String, int, ValueCallBack)}.

◆ BlockList

List<string> AgoraChat.Room.BlockList
getset

The block list of the chat room.

To get the block list of the chat room from the server, you can call {@link IRoomManager#FetchRoomBlockList(String, int, int, ValueCallBack)}.

◆ MuteList

List<string> AgoraChat.Room.MuteList
getset

The mute list of the chat room.

To get the mute list of the chat room from the server, you can call {@link IRoomManager#FetchRoomMuteList(String, int, int, ValueCallBack)}.

◆ MaxUsers

int AgoraChat.Room.MaxUsers
getset

The maximum number of members allowed in the chat room, which is determined during chat room creation.

To get the latest data, you can call {@link IRoomManager#FetchRoomInfoFromServer(String,ValueCallBack)} to get details of a chat room from the server.

◆ Owner

string AgoraChat.Room.Owner
getset

The chat room owner.

To get the latest data, you can call {@link IRoomManager#FetchRoomInfoFromServer(String,ValueCallBack)} to get details of a chat room from the server.

◆ IsAllMemberMuted

bool AgoraChat.Room.IsAllMemberMuted
getset

Whether all members are muted.

  • true: Yes.
  • false: No.

Note

  • Once all members are muted or unmuted, the callback is triggered to notify and update the mute or unmute status. You can call the method to get the current status.
  • If you leave the chat room and rejoin it, the status is not reliable.

◆ PermissionType

RoomPermissionType AgoraChat.Room.PermissionType
getset

The role of the current user in the chat room.