| Package | org.osmf.net.qos |
| Class | public class QoSInfoHistory |
| Inheritance | QoSInfoHistory Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | OSMF 2.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Public Properties
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
| length : uint [read-only]
Returns the length of the history
| QoSInfoHistory | ||
| maxHistoryLength : uint
The maximum number of records to keep.
Setting it to a value smaller than the current
number of records results in the overflowing records
being removed (the oldest). | QoSInfoHistory | ||
Public Methods
| Method | Defined By | ||
|---|---|---|---|
Constructor. | QoSInfoHistory | ||
Erases the history
| QoSInfoHistory | ||
Returns an array with the most recent QoSInfo records
| QoSInfoHistory | ||
Returns the most recent QoSInfo in the history
| QoSInfoHistory | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
Public Constants
| Constant | Defined By | ||
|---|---|---|---|
| DEFAULT_HISTORY_LENGTH : Number = 10 [static] | QoSInfoHistory | ||
Property Detail
length | property |
maxHistoryLength | property |
maxHistoryLength:uint| Language Version: | ActionScript 3.0 |
| Product Version: | OSMF 2.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
The maximum number of records to keep. Setting it to a value smaller than the current number of records results in the overflowing records being removed (the oldest).
Implementation
public function get maxHistoryLength():uint public function set maxHistoryLength(value:uint):voidConstructor Detail
QoSInfoHistory | () | Constructor |
public function QoSInfoHistory(netStream:NetStream, maxHistoryLength:uint)| Language Version: | ActionScript 3.0 |
| Product Version: | OSMF 2.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
ParametersnetStream:NetStream — The NetStream instance that will be providing the QoS information
| |
maxHistoryLength:uint (default = NaN) — The maximum number of records to keep
|
Method Detail
flush | () | method |
public function flush():void| Language Version: | ActionScript 3.0 |
| Product Version: | OSMF 2.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Erases the history
getHistory | () | method |
public function getHistory(count:uint = 0):Vector.<QoSInfo>| Language Version: | ActionScript 3.0 |
| Product Version: | OSMF 2.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns an array with the most recent QoSInfo records
Parameters
count:uint (default = 0) — the maximum length of the history
|
Vector.<QoSInfo> |
getLatestQoSInfo | () | method |
Constant Detail
DEFAULT_HISTORY_LENGTH | Constant |
public static const DEFAULT_HISTORY_LENGTH:Number = 10Thu Dec 6 2018, 01:12 PM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties