IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMGroupMemberFullInfo

Public Member Functions

 V2TIMGroupMemberFullInfo ()
 
String getUserID ()
 
void setUserID (String userID)
 
void setNameCard (String nameCard)
 
Map< String, byte[]> getCustomInfo ()
 
void setCustomInfo (Map< String, byte[]> customInfo)
 
int getRole ()
 
long getMuteUntil ()
 
long getJoinTime ()
 
boolean isOnline ()
 
String toString ()
 
String getNickName ()
 
String getNameCard ()
 
String getFriendRemark ()
 
String getFaceUrl ()
 
List< String > getOnlineDevices ()
 

Static Public Attributes

static final int V2TIM_GROUP_MEMBER_UNDEFINED = 0
 
static final int V2TIM_GROUP_MEMBER_ROLE_MEMBER = 200
 
static final int V2TIM_GROUP_MEMBER_ROLE_ADMIN = 300
 
static final int V2TIM_GROUP_MEMBER_ROLE_OWNER = 400
 
static final int V2TIM_GROUP_MEMBER_FILTER_ALL = 0x00
 
static final int V2TIM_GROUP_MEMBER_FILTER_OWNER = 0x01
 
static final int V2TIM_GROUP_MEMBER_FILTER_ADMIN = 0x02
 
static final int V2TIM_GROUP_MEMBER_FILTER_COMMON = 0x04
 

Constructor & Destructor Documentation

◆ V2TIMGroupMemberFullInfo()

Member Function Documentation

◆ getUserID()

String getUserID ( )
inline

◆ setUserID()

void setUserID ( String  userID)
inline

Set the userID of a group member

Parameters
userIDUser's userID

◆ setNameCard()

void setNameCard ( String  nameCard)
inline

Set the alias of a group member

Parameters
nameCard

◆ getCustomInfo()

Map<String, byte[]> getCustomInfo ( )
inline

Get custom group member fields

Returns
Custom field map

◆ setCustomInfo()

void setCustomInfo ( Map< String, byte[]>  customInfo)
inline

Modify custom group member fields

Attention
  • To configure the corresponding keys and permissions, go to Chat console -> Configuration -> Custom Group Member Field.
  • The parameter must be a hashmap object.
Parameters
customInfoCustom field

◆ getRole()

int getRole ( )
inline

Get group member roles

Returns

◆ getMuteUntil()

long getMuteUntil ( )
inline

Get the time when group members were unmuted. To mute users, call the V2TIMGroupManager.muteGroupMember() API.

Returns

◆ getJoinTime()

long getJoinTime ( )
inline

Get the joining time of group members. The group joining time is automatically generated and cannot be modified.

Returns

◆ isOnline()

boolean isOnline ( )
inline

Whether the current group member is online or not.

Attention
Attention:
  • This field is not supported for AVChatRoom groups
  • The field is only valid when the getGroupMemberList API is called.
  • The field is supported only in Chat Premium 7.3 and later versions.
Returns

◆ toString()

String toString ( )
inline

◆ getNickName()

String getNickName ( )
inlineinherited

Get nicknames

Returns

◆ getNameCard()

String getNameCard ( )
inlineinherited

Get a group member's name card

Returns

◆ getFriendRemark()

String getFriendRemark ( )
inlineinherited

Get the remarks for a friend. If the information has not been pulled or the user is not a friend, null will be returned.

Returns
Friend remarks

◆ getFaceUrl()

String getFaceUrl ( )
inlineinherited

Get the profile photo URL of a user

Returns

◆ getOnlineDevices()

List<String> getOnlineDevices ( )
inlineinherited

Get a group member's online device list

Returns

Field Documentation

◆ V2TIM_GROUP_MEMBER_UNDEFINED

final int V2TIM_GROUP_MEMBER_UNDEFINED = 0
static

Undefined (this field is not obtained)

◆ V2TIM_GROUP_MEMBER_ROLE_MEMBER

final int V2TIM_GROUP_MEMBER_ROLE_MEMBER = 200
static

Group member

◆ V2TIM_GROUP_MEMBER_ROLE_ADMIN

final int V2TIM_GROUP_MEMBER_ROLE_ADMIN = 300
static

Group admin

◆ V2TIM_GROUP_MEMBER_ROLE_OWNER

final int V2TIM_GROUP_MEMBER_ROLE_OWNER = 400
static

Group owner

◆ V2TIM_GROUP_MEMBER_FILTER_ALL

final int V2TIM_GROUP_MEMBER_FILTER_ALL = 0x00
static

All members

◆ V2TIM_GROUP_MEMBER_FILTER_OWNER

final int V2TIM_GROUP_MEMBER_FILTER_OWNER = 0x01
static

Group owner

◆ V2TIM_GROUP_MEMBER_FILTER_ADMIN

final int V2TIM_GROUP_MEMBER_FILTER_ADMIN = 0x02
static

Admin

◆ V2TIM_GROUP_MEMBER_FILTER_COMMON

final int V2TIM_GROUP_MEMBER_FILTER_COMMON = 0x04
static

Common member