public class MediaContent
extends com.google.gwt.core.client.JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
MediaContent() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitRate()
Retrieve the kilobits per second rate of media.
|
int |
getChannels()
Retrieve the number of audio channels in the media object.
|
int |
getDuration()
Retrieve the number of seconds the media object plays.
|
String |
getExpression()
Determines if the object is a sample or the full version of the object, or even
if it is a continuous stream (sample | full | nonstop).
|
int |
getFileSize()
Retrieve the number of bytes of the media object.
|
int |
getFrameRate()
Retrieve the number of frames per second for the media object.
|
int |
getHeight()
Retrieve is the height of the media object.
|
String |
getLang()
Retrieves the primary language encapsulated in the media object.
|
String |
getMedium()
Retrieve the type of object (image | audio | video | document | executable).
|
MediaPlayer |
getPlayer()
Allows the media object to be accessed through a web browser media player console.
|
float |
getSamplingRate()
Retrieve the number of samples per second taken to create the media object.
|
com.google.gwt.core.client.JsArray<MediaThumbnail> |
getThumbnails()
Allows particular images to be used as representative images for the media object.
|
String |
getType()
Retrieve the standard MIME type of the object.
|
String |
getUrl()
Retrieve the direct url to the media object.
|
int |
getWidth()
Retrieve the width of the media object.
|
boolean |
isDefault()
Determines if this is the default object that should be used for the
|
public final String getUrl()
public final int getFileSize()
public final String getType()
public final String getMedium()
public final boolean isDefault()
public final String getExpression()
public final int getBitRate()
public final int getFrameRate()
public final float getSamplingRate()
public final int getChannels()
public final int getDuration()
public final int getHeight()
public final int getWidth()
public final String getLang()
public final com.google.gwt.core.client.JsArray<MediaThumbnail> getThumbnails()
public final MediaPlayer getPlayer()
Copyright © 2014. All rights reserved.