public class POBMediaFile extends java.lang.Object implements POBXMLNodeListener
| Constructor and Description |
|---|
POBMediaFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(POBNodeBuilder builder)
POBXMLParser calls this method to build model class object with node builder
|
int |
getBitrate()
Specifies the average bitrate for the media file
|
java.lang.String |
getDelivery()
Either “progressive” for progressive download protocols (such as HTTP) or “streaming” for streaming protocols.
|
java.lang.String |
getFileSize()
Optional field that helps eliminate the need to calculate the size based on bitrate and duration Units - Bytes
|
int |
getHeight()
The native height of the video file, in pixels.
|
boolean |
getMaintainAspectRatio()
A Boolean value that indicates whether aspect ratio for media file dimensions
should be maintained when scaled to new dimensions.
|
java.lang.String |
getMediaFileURL()
Media file url
|
boolean |
getScalable()
A Boolean value that indicates whether the media file is meant to scale to larger dimensions.
|
java.lang.String |
getType()
MIME type for the file container.
|
int |
getWidth()
The native width of the video file, in pixels.
|
java.lang.String |
toString() |
public void build(POBNodeBuilder builder)
POBXMLNodeListenerbuild in interface POBXMLNodeListenerpublic java.lang.String getDelivery()
public java.lang.String getType()
Popular MIME types include, but are not limited to “video/mp4” for MP4, “audio/mpeg” and "audio/aac" for audio ads.
public int getBitrate()
public int getWidth()
public int getHeight()
public boolean getScalable()
public boolean getMaintainAspectRatio()
public java.lang.String getMediaFileURL()
public java.lang.String getFileSize()
public java.lang.String toString()
toString in class java.lang.Object