public static final class AvatarMetadata.Info extends Object
<info/> element in the urn:xmpp:avatar:metadata namespace.| Constructor and Description |
|---|
Info() |
Info(int bytes,
String id,
String type) |
Info(int bytes,
String id,
String type,
Integer width,
Integer height,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBytes()
Gets the size of the image data in bytes.
|
Integer |
getHeight()
Gets the height of the image in pixels.
|
String |
getId()
Gets a hash of the image data for the specified content-type, where the hash is produced in accordance with the SHA-1 algorithm as specified in RFC 3174 [11] (with binary output).
|
String |
getType()
Gets the IANA-registered content type of the image data.
|
URL |
getUrl()
Gets the http: or https: URL at which the image data file is hosted; this attribute MUST NOT be included unless the image data file can be retrieved via HTTP.
|
Integer |
getWidth()
Gets the width of the image in pixels.
|
public Integer getBytes()
public String getId()
public String getType()
public URL getUrl()
public Integer getWidth()
public Integer getHeight()
Copyright © 2014 XMPP.rocks. All rights reserved.