Package | com.adobe.mediacore.qos |
Class | public final class LoadInformation |
Inheritance | LoadInformation ![]() |
Property | Defined By | ||
---|---|---|---|
downloadDuration : Number [read-only]
| LoadInformation | ||
mediaDuration : Number [read-only]
| LoadInformation | ||
periodIndex : int [read-only]
| LoadInformation | ||
size : Number [read-only]
| LoadInformation | ||
trackIndex : int [read-only]
| LoadInformation | ||
trackName : String [read-only]
| LoadInformation | ||
trackType : String [read-only]
| LoadInformation | ||
type : String [read-only]
| LoadInformation | ||
url : String [read-only]
| LoadInformation |
Method | Defined By | ||
---|---|---|---|
LoadInformation(type:String, url:String, periodIndex:int, resourceSize:Number, mediaDuration:Number, downloadDuration:Number, trackName:String, trackType:String, trackIndex:int)
Default constructor. | LoadInformation | ||
createFragmentLoadInformation(url:String, periodIndex:int, resourceSize:Number, mediaDuration:Number, downloadDuration:Number):LoadInformation [static]
Helper method for creating LoadInformation object containing
the download information for the specified fragment. | LoadInformation | ||
createManifestLoadInformation(url:String):LoadInformation [static]
Helper method for creating LoadInformation object containing download information
for the specified url. | LoadInformation | ||
createTrackLoadInformation(url:String, periodIndex:int, resourceSize:Number, mediaDuration:Number, downloadDuration:Number, trackName:String, trackType:String, trackIndex:int):LoadInformation [static]
Helper method for creating LoadInformation object containing
the download information for the specified track. | LoadInformation | ||
toString():String
Returns a string representation of the load information. | LoadInformation |
downloadDuration | property |
downloadDuration:Number
[read-only]
public function get downloadDuration():Number
mediaDuration | property |
mediaDuration:Number
[read-only]
public function get mediaDuration():Number
periodIndex | property |
periodIndex:int
[read-only]
public function get periodIndex():int
size | property |
size:Number
[read-only]
public function get size():Number
trackIndex | property |
trackIndex:int
[read-only]
public function get trackIndex():int
trackName | property |
trackName:String
[read-only]
public function get trackName():String
trackType | property |
trackType:String
[read-only]
public function get trackType():String
type | property |
type:String
[read-only]
public function get type():String
url | property |
url:String
[read-only]
public function get url():String
LoadInformation | () | Constructor |
public function LoadInformation(type:String, url:String, periodIndex:int, resourceSize:Number, mediaDuration:Number, downloadDuration:Number, trackName:String, trackType:String, trackIndex:int)
Default constructor.
Parameterstype:String — Type of resource.
| |
url:String — The url pointing to the resource.
| |
periodIndex:int — The timeline period index associated with this resource.
| |
resourceSize:Number — The size of resource in bytes.
| |
mediaDuration:Number — The media duration in milliseconds.
| |
downloadDuration:Number — Tha total download time in milliseconds.
| |
trackName:String — Track name if the resource was an alternate track.
| |
trackType:String — Track type if the resource was an alternate track.
| |
trackIndex:int — Track index if the resource was an alternate track.
|
createFragmentLoadInformation | () | method |
public static function createFragmentLoadInformation(url:String, periodIndex:int, resourceSize:Number, mediaDuration:Number, downloadDuration:Number):LoadInformation
Helper method for creating LoadInformation object containing the download information for the specified fragment.
Parameters
url:String — The url for fragment being downloaded.
| |
periodIndex:int — A number indicating which period is associated
with the downloaded fragment.
| |
resourceSize:Number — The size in bytes of the downloaded fragment.
| |
mediaDuration:Number — The duration in milliseconds of the downloaded fragment.
| |
downloadDuration:Number — The duration in milliseconds of the download.
|
LoadInformation — a valid LoadInformation object.
|
createManifestLoadInformation | () | method |
public static function createManifestLoadInformation(url:String):LoadInformation
Helper method for creating LoadInformation object containing download information for the specified url.
Parameters
url:String — The url for the manifest being downloaded.
|
LoadInformation — a valid LoadInformation object.
|
createTrackLoadInformation | () | method |
public static function createTrackLoadInformation(url:String, periodIndex:int, resourceSize:Number, mediaDuration:Number, downloadDuration:Number, trackName:String, trackType:String, trackIndex:int):LoadInformation
Helper method for creating LoadInformation object containing the download information for the specified track.
Parameters
url:String — The url for track being downloaded.
| |
periodIndex:int — A number indicating which period is associated
with the downloaded track.
| |
resourceSize:Number — The size in bytes of the downloaded track.
| |
mediaDuration:Number — The duration in milliseconds of the downloaded track.
| |
downloadDuration:Number — The duration in milliseconds of the download.
| |
trackName:String — Track name.
| |
trackType:String — Track type.
| |
trackIndex:int — Track index.
|
LoadInformation — a valid LoadInformation object.
|
toString | () | method |
public function toString():String
Returns a string representation of the load information.
ReturnsString — a string representation of load information.
|