Chat SDK for Android v1.3.1
agora java chat SDK
Public Member Functions | List of all members
io.agora.chat.GroupInfo Class Reference

Inherits Serializable.

Public Member Functions

 GroupInfo (String groupId, String groupName)
 
String getGroupId ()
 
void setGroupId (String groupId)
 
String getGroupName ()
 
void setGroupName (String groupName)
 

Detailed Description

The basic group information, which is used when getting the public group list.

See also
GroupManager::getPublicGroupsFromServer(int, String)

Constructor & Destructor Documentation

◆ GroupInfo()

io.agora.chat.GroupInfo.GroupInfo ( String  groupId,
String  groupName 
)

The constructor of GroupInfo.

Parameters
groupIdThe group ID.
groupNameThe group name.

Member Function Documentation

◆ getGroupId()

String io.agora.chat.GroupInfo.getGroupId ( )

Gets the group ID.

Returns
The group ID.

◆ getGroupName()

String io.agora.chat.GroupInfo.getGroupName ( )

Gets the group name.

Returns
The group name.

◆ setGroupId()

void io.agora.chat.GroupInfo.setGroupId ( String  groupId)

Sets the group ID.

Parameters
groupIdThe group ID.

◆ setGroupName()

void io.agora.chat.GroupInfo.setGroupName ( String  groupName)

Sets the group name.

Parameters
groupNameThe group name.

The documentation for this class was generated from the following file: