| Constructor and Description |
|---|
Image(String type,
byte[] value)
Creates an image with a type and binary value.
|
Image(URI uri)
Creates an image with an URI.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Gets the mime type of the photo, e.g. image/png.
|
URI |
getUri()
Gets the URI to an external photo.
|
byte[] |
getValue()
Gets the photo as byte array.
|
Copyright © 2014–2017 XMPP.rocks. All rights reserved.