ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.net.qos 

FragmentDetails  - AS3 OSMF

Packageorg.osmf.net.qos
Classpublic class FragmentDetails
InheritanceFragmentDetails Inheritance Object

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

FragmentDetails represents a collection of data about a media fragment.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  downloadDuration : Number
[read-only] The time it took to download the fragment (in seconds)
FragmentDetails
  fragmentIdentifier : String
[read-only] The identifier of the fragment (SegX-FragY)
FragmentDetails
  index : uint
[read-only] The index of the stream of which this fragment is a part
FragmentDetails
  playDuration : Number
[read-only] The play duration of the fragment (in seconds)
FragmentDetails
  size : Number
[read-only] The size of the fragment (in bytes)
FragmentDetails
Public Methods
 MethodDefined By
  
FragmentDetails(size:Number, playDuration:Number, downloadDuration:Number, index:uint, fragmentIdentifier:String = null)
Constructor.
FragmentDetails
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

downloadDuration

property
downloadDuration:Number  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

The time it took to download the fragment (in seconds)



Implementation
    public function get downloadDuration():Number

fragmentIdentifier

property 
fragmentIdentifier:String  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

The identifier of the fragment (SegX-FragY)



Implementation
    public function get fragmentIdentifier():String

index

property 
index:uint  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

The index of the stream of which this fragment is a part



Implementation
    public function get index():uint

playDuration

property 
playDuration:Number  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

The play duration of the fragment (in seconds)



Implementation
    public function get playDuration():Number

size

property 
size:Number  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

The size of the fragment (in bytes)



Implementation
    public function get size():Number
Constructor Detail

FragmentDetails

()Constructor
public function FragmentDetails(size:Number, playDuration:Number, downloadDuration:Number, index:uint, fragmentIdentifier:String = null)

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

Constructor.

Parameters
size:Number — The size of the fragment (in bytes)
 
playDuration:Number — The play duration of the fragment (in seconds)
 
downloadDuration:Number — The time it took to download the fragment (in seconds)
 
index:uint — The index of the quality level to which the fragment is a part
 
fragmentIdentifier:String (default = null)