Package io.rong.imlib.model
Class Group
-
- All Implemented Interfaces:
public class Group
Group entity, used to contain and store group information.
-
-
Field Summary
Fields Modifier and Type Field Description public String
id
public String
name
public String
extra
public Uri
portraitUri
public final static Creator<Group>
CREATOR
-
Method Summary
Modifier and Type Method Description String
getId()
Retrieves the group ID. void
setId(String id)
Sets the group ID. String
getName()
Retrieves the group name. void
setName(String name)
Sets the group name. String
getExtra()
void
setExtra(String extra)
Uri
getPortraitUri()
Retrieves the group avatar. void
setPortraitUri(Uri uri)
Sets the group avatar. int
describeContents()
Describes the type of special objects included in the arrangement information of the Parcelable object. void
writeToParcel(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)
-
-
-
-