Package io.rong.imlib.model
Class Group
-
- All Implemented Interfaces:
public class GroupGroup entity, used to contain and store group information.
-
-
Field Summary
Fields Modifier and Type Field Description public Stringidpublic Stringnamepublic Stringextrapublic UriportraitUripublic final static Creator<Group>CREATOR
-
Method Summary
Modifier and Type Method Description StringgetId()Retrieves the group ID. voidsetId(String id)Sets the group ID. StringgetName()Retrieves the group name. voidsetName(String name)Sets the group name. StringgetExtra()voidsetExtra(String extra)UrigetPortraitUri()Retrieves the group avatar. voidsetPortraitUri(Uri uri)Sets the group avatar. intdescribeContents()Describes the type of special objects included in the arrangement information of the Parcelable object. voidwriteToParcel(Parcel dest, int flags)-
-
Method Detail
-
getId
String getId()
Retrieves the group ID.
- Returns:
The group ID.
-
setId
void setId(String id)
Sets the group ID.
- Parameters:
id- The group ID.
-
getName
String getName()
Retrieves the group name.
- Returns:
The group name.
-
setName
void setName(String name)
Sets the group name.
- Parameters:
name- The group name.
-
getExtra
String getExtra()
-
setExtra
void setExtra(String extra)
-
getPortraitUri
Uri getPortraitUri()
Retrieves the group avatar.
- Returns:
The group avatar.
-
setPortraitUri
void setPortraitUri(Uri uri)
Sets the group avatar.
- Parameters:
uri- The group avatar.
-
describeContents
int describeContents()
Describes the type of special objects included in the arrangement information of the Parcelable object.
- Returns:
A flag indicating the arrangement of the special object type collection in the Parcelable object.
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-