This class is considered usable by external developers but its contracts have not stabilized.
Experimental APIs may be changed at any time before being marked
@Internal
or
@PublicApi
.
Class Overview
Used to request a specific format of an avatar image.
Summary
Nested Classes |
class |
AvatarFormatPolicy.PngAvatarFormatPolicyBuilder |
Builder used for building PngAvatarFormatPolicy. |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
AvatarFormatPolicy
()
Public Methods
public
static
AvatarFormatPolicy
createOriginalDataPolicy
()
Returns
- a policy that will always use the actual content type of the avatar.
Returns
- a policy builder that is expecting avatar in PNG format. If not possible fallback strategy will be applied.