public interface ProfileImageProvider
Modifier and Type | Interface and Description |
---|---|
static class |
ProfileImageProvider.UserProfileImage
Basic structure holding necessary data representing an user profile image
|
Modifier and Type | Method and Description |
---|---|
ProfileImageProvider.UserProfileImage |
getImage(UserIdentity user,
String imageSource,
int size,
int maxSize)
Get the avatar
|
ProfileImageProvider.UserProfileImage getImage(UserIdentity user, String imageSource, int size, int maxSize) throws ProcessingException
user
- The userimageSource
- The image source. Can be null to get the default onesize
- The size in px. Can be 0.maxSize
- The maxSize in px. Can be 0.ProcessingException
- If an error occurred