1package im.conversations.android.xmpp.model.avatar;
2
3import eu.siacs.conversations.xml.Namespace;
4import im.conversations.android.annotation.XmlElement;
5import im.conversations.android.xmpp.model.Extension;
6
7@XmlElement(namespace = Namespace.AVATAR_METADATA)
8public class Info extends Extension {
9
10 public Info() {
11 super(Info.class);
12 }
13
14 public long getHeight() {
15 return this.getLongAttribute("height");
16 }
17
18 public long getWidth() {
19 return this.getLongAttribute("width");
20 }
21
22 public long getBytes() {
23 return this.getLongAttribute("bytes");
24 }
25
26 public String getType() {
27 return this.getAttribute("type");
28 }
29
30 public String getUrl() {
31 return this.getAttribute("url");
32 }
33
34 public String getId() {
35 return this.getAttribute("id");
36 }
37}