| Modifier and Type | Method and Description |
|---|---|
static SystemUserInfo |
getInstance()
Gets the unique instance of system user info.
|
void |
setAbbreviation(String abbreviation)
Sets the user's abbreviation.
|
void |
setColorIndex(int colorIndex)
Sets the user's color index.
|
void |
setImage(String imageUrl)
Sets the url of the user's image.
|
void |
setName(String name)
Sets the user's name.
|
equals, getAbbreviation, getColorIndex, getId, getImage, getName, hashCodepublic static SystemUserInfo getInstance()
nullpublic void setName(String name)
UserInfopublic void setAbbreviation(String abbreviation)
UserInfosetAbbreviation in class UserInfoabbreviation - the abbreviation to setpublic void setImage(String imageUrl)
UserInfo
If this user info is given to a CollaborationAvatarGroup, the
image URL is used to load the user's avatar. Alternatively, the user
images can be loaded from a backend to the avatar group with
CollaborationAvatarGroup.setImageProvider(ImageProvider).
public void setColorIndex(int colorIndex)
UserInfoSetting it to -1 (which is the default value) indicates that the user color can be automatically assigned by Collaboration Engine.
setColorIndex in class UserInfocolorIndex - the color index to setUserInfo.getColorIndex()Copyright © 2021. All rights reserved.