| Constructor and Description |
|---|
MediaContent() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getBitrate()
The kilobits per second rate of media.
|
String |
getChannels()
The number of audio channels in the media object.
|
Duration |
getDuration()
The number of seconds the media object plays.
|
String |
getExpression()
Whether this is a sample or the full version or a continuous stream of this object.
|
Long |
getFileSize()
The number of bytes of the media object.
|
Long |
getFramerate()
The number of frames per second for the media object.
|
Integer |
getHeight()
The height of the media object.
|
String |
getIsDefault()
Whether this is the default
MediaContent object that should be used for the group. |
String |
getLang()
The primary language encapsulated in the media object.
|
String |
getMedium()
The type of object (image | audio | video | document | executable).
|
String |
getSamplingrate()
The number of samples per second taken to create the media object.
|
String |
getType()
The standard MIME type of the object.
|
String |
getUrl()
The direct URL to the media object.
|
Integer |
getWidth()
The width of the media object.
|
void |
setBitrate(Long bitrate) |
void |
setChannels(String channels) |
void |
setDuration(Duration duration) |
void |
setExpression(String expression) |
void |
setFileSize(Long fileSize) |
void |
setFramerate(Long framerate) |
void |
setHeight(Integer height) |
void |
setIsDefault(String isDefault) |
void |
setLang(String lang) |
void |
setMedium(String medium) |
void |
setSamplingrate(String samplingrate) |
void |
setType(String type) |
void |
setUrl(String url) |
void |
setWidth(Integer width) |
String |
toString() |
public void setUrl(String url)
public Long getFileSize()
The number of bytes of the media object.
Optional in Media RSS specification.
Long or nullpublic void setFileSize(Long fileSize)
public String getType()
The standard MIME type of the object.
Optional in Media RSS specification.
Long or nullpublic void setType(String type)
public String getMedium()
The type of object (image | audio | video | document | executable).
Optional in Media RSS specification.
String or nullpublic void setMedium(String medium)
public String getIsDefault()
Whether this is the default MediaContent object that should be used for the group.
Optional in Media RSS specification.
String or nullpublic void setIsDefault(String isDefault)
public String getExpression()
Whether this is a sample or the full version or a continuous stream of this object. Default value
is full. Possible values (sample | full | nonstop).
Optional in Media RSS specification.
String or nullpublic void setExpression(String expression)
public Long getBitrate()
The kilobits per second rate of media.
Optional in Media RSS specification.
Long or nullpublic void setBitrate(Long bitrate)
public Long getFramerate()
The number of frames per second for the media object.
Optional in Media RSS specification.
Long or nullpublic void setFramerate(Long framerate)
public String getSamplingrate()
The number of samples per second taken to create the media object. It is expressed in thousands of samples per second (kHz).
Optional in Media RSS specification.
String or nullpublic void setSamplingrate(String samplingrate)
public String getChannels()
The number of audio channels in the media object.
Optional in Media RSS specification.
String or nullpublic void setChannels(String channels)
public Duration getDuration()
The number of seconds the media object plays.
Optional in Media RSS specification.
Duration or nullpublic void setDuration(Duration duration)
public Integer getHeight()
The height of the media object.
Optional in Media RSS specification.
Integer or nullpublic void setHeight(Integer height)
public Integer getWidth()
The width of the media object.
Optional in Media RSS specification.
Integer or nullpublic void setWidth(Integer width)
public String getLang()
The primary language encapsulated in the media object. Language codes possible are detailed in RFC 3066.
Optional in Media RSS specification.
String or nullpublic void setLang(String lang)
Copyright © 2018. All rights reserved.