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 the group member whose profile is to be modified

Parameters
userIDUser's userID

◆ setNameCard()

void setNameCard ( String  nameCard)
inline

Set the name card of the group member whose profile is to be modified

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 IM console -> Feature Configuration -> Custom Group Member Fields.
  • The parameter must be a hashmap object.
Parameters
customInfoCustom field customInfo must be a hashmap object.

◆ getRole()

int getRole ( )
inline

Get group member roles

Returns

◆ getMuteUntil()

long getMuteUntil ( )
inline

Get muting stop timestamps of group members. To mute users, please 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:
  • It is not supported in AVChatRoom;
  • It is only valid when calling getGroupMemberList API;
  • It is supported only in 7.3 and later versions, and you need to buy Premium Edition to use this feature.
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 friend remarks. If you have not pulled the friend information or are not a friend, null is 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 devices 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