public static class AvatarToStream.AvatarData extends Object
Constructor and Description |
---|
AvatarData(Avatar avatar,
Avatar.Size size)
Constructs avatar data with default cache policy.
|
AvatarData(Avatar avatar,
Avatar.Size size,
AvatarToStream.CachePolicy cachePolicy)
Constructs avatar data.
|
Modifier and Type | Method and Description |
---|---|
Avatar |
getAvatar() |
AvatarToStream.CachePolicy |
getCachePolicy() |
Avatar.Size |
getSize() |
public AvatarData(@Nonnull Avatar avatar, @Nonnull Avatar.Size size, @Nullable AvatarToStream.CachePolicy cachePolicy)
avatar
- size
- cachePolicy
- Cache policy. If passed value is null
then default policy applies.public AvatarData(@Nonnull Avatar avatar, @Nonnull Avatar.Size size)
avatar
- size
- @Nonnull public Avatar.Size getSize()
@Nonnull public AvatarToStream.CachePolicy getCachePolicy()
Copyright © 2002-2021 Atlassian. All Rights Reserved.