|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.adobe.mediacore.qos.LoadInfo
public final class LoadInfo
Class containing various QoS information about loading process for various resources ( files, manifest or playlist, tracks etc).
Nested Class Summary | |
---|---|
static class |
LoadInfo.Type
The type of the resource. |
Constructor Summary | |
---|---|
LoadInfo(LoadInfo.Type type,
String url,
int periodIndex,
long resourceSize,
long mediaDuration,
long downloadDuration,
String trackName,
String trackType,
int trackIndex)
Default constructor. |
Method Summary | |
---|---|
static LoadInfo |
createFragmentLoadInformation(String url,
int periodIndex,
long resourceSize,
long mediaDuration,
long downloadDuration)
|
static LoadInfo |
createManifestLoadInformation(String url)
|
static LoadInfo |
createTrackLoadInformation(String url,
int periodIndex,
long resourceSize,
long mediaDuration,
long downloadDuration,
String trackName,
String trackType,
int trackIndex)
|
long |
getDownloadDuration()
|
long |
getFragmentSize()
Deprecated. |
String |
getFragmentUrl()
Deprecated. |
long |
getMediaDuration()
|
int |
getPeriodIndex()
|
long |
getSize()
|
int |
getTrackIndex()
|
String |
getTrackName()
|
String |
getTrackType()
|
LoadInfo.Type |
getType()
|
String |
getUrl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoadInfo(LoadInfo.Type type, String url, int periodIndex, long resourceSize, long mediaDuration, long downloadDuration, String trackName, String trackType, int trackIndex)
type
- Type of resource.url
- The url pointing to the resource.periodIndex
- The timeline period index associated with this resource.resourceSize
- The size of resource in bytes.mediaDuration
- The media duration in milliseconds.downloadDuration
- Tha total download time in milliseconds.trackName
- Track name if the resource was an alternate track.trackType
- Track type if the resource was an alternate track.trackIndex
- Track index if the resource was an alternate track.Method Detail |
---|
public static LoadInfo createManifestLoadInformation(String url)
public static LoadInfo createFragmentLoadInformation(String url, int periodIndex, long resourceSize, long mediaDuration, long downloadDuration)
public static LoadInfo createTrackLoadInformation(String url, int periodIndex, long resourceSize, long mediaDuration, long downloadDuration, String trackName, String trackType, int trackIndex)
public final LoadInfo.Type getType()
public final String getUrl()
public int getPeriodIndex()
public long getSize()
public long getDownloadDuration()
public long getMediaDuration()
public String getTrackName()
public String getTrackType()
public int getTrackIndex()
@Deprecated public String getFragmentUrl()
@Deprecated public long getFragmentSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |