|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netmera.mobile.NetmeraMedia
public class NetmeraMedia
NetmeraMedia object is used to create media content.
Its constructor is used to create different types of media content.
| Nested Class Summary | |
|---|---|
static class |
NetmeraMedia.PhotoSize
Type of the photo size. |
| Constructor Summary | |
|---|---|
NetmeraMedia(byte[] data)
Constructor that takes byte array as a parameter and creates NetmeraMedia object. |
|
| Method Summary | |
|---|---|
byte[] |
getData()
Returns the image data as byte array. |
java.lang.String |
getUrl(NetmeraMedia.PhotoSize size)
Returns the URL of file with the given size. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetmeraMedia(byte[] data)
data - The image's data as byte array| Method Detail |
|---|
public byte[] getData()
public java.lang.String getUrl(NetmeraMedia.PhotoSize size)
throws NetmeraException
size - NetmeraMedia.PhotoSize object
NetmeraException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||