public interface UserInfoProvider
| Modifier and Type | Method and Description |
|---|---|
Bitmap |
getAvatarForMessageNotifier(SessionTypeEnum sessionType,
java.lang.String sessionId)
Get the avatar of an individual or group for notifications on the notification bar.
|
java.lang.String |
getDisplayNameForMessageNotifier(java.lang.String account,
java.lang.String sessionId,
SessionTypeEnum sessionType)
Get the display name of a sender on the notification bar.
|
UserInfo |
getUserInfo(java.lang.String account)
Get the user profile based on the user account.
|
UserInfo getUserInfo(java.lang.String account)
account - User accountjava.lang.String getDisplayNameForMessageNotifier(java.lang.String account,
java.lang.String sessionId,
SessionTypeEnum sessionType)
account - account of a sendersessionId - session ID. For P2P chats, the ID is the peer account. For groups chats, the ID is the group ID.sessionType - Session typeBitmap getAvatarForMessageNotifier(SessionTypeEnum sessionType, java.lang.String sessionId)
sessionType - session type: P2P or groupsessionId - account or group ID