public interface MediaItem
| Modifier and Type | Interface and Description |
|---|---|
static class |
MediaItem.Field
Fields for MediaItem.
|
static class |
MediaItem.Type
An enumeration of potential media types.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType()
Get the mime type for this Media item.
|
String |
getThumbnailUrl()
Get the thumbnail URL for the media item.
|
MediaItem.Type |
getType()
Get the Type of this media item, either audio, image or video.
|
String |
getUrl()
Get a URL for the media item.
|
void |
setMimeType(String mimeType)
Set the mimetype for this Media Item.
|
void |
setThumbnailUrl(String url)
Set a thumbnail URL for the media item.
|
void |
setType(MediaItem.Type type)
Get the Type of this media item, either audio, image or video.
|
void |
setUrl(String url)
Set a URL for the media item.
|
String getMimeType()
void setMimeType(String mimeType)
mimeType - the mimeTypeMediaItem.Type getType()
void setType(MediaItem.Type type)
type - the type of this media itemString getUrl()
void setUrl(String url)
url - the media item URLString getThumbnailUrl()
void setThumbnailUrl(String url)
url - the thumbnail URL of the MediaItemCopyright © 2015 WSO2. All Rights Reserved.