| 套件 | org.osmf.net.qos |
| 類別 | public class QoSInfoHistory |
| 繼承 | QoSInfoHistory Object |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
公用屬性
| 屬性 | 定義自 | ||
|---|---|---|---|
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
| length : uint [唯讀]
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 | ||
公用方法
| 方法 | 定義自 | ||
|---|---|---|---|
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 | ||
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object | |
公用常數
| 常數 | 定義自 | ||
|---|---|---|---|
| DEFAULT_HISTORY_LENGTH : Number = 10 [靜態] | QoSInfoHistory | ||
屬性詳細資訊
length | 屬性 |
maxHistoryLength | 屬性 |
maxHistoryLength:uint| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | 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).
實作
public function get maxHistoryLength():uint public function set maxHistoryLength(value:uint):void建構函式詳細資料
QoSInfoHistory | () | 建構函式 |
public function QoSInfoHistory(netStream:NetStream, maxHistoryLength:uint)| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Constructor.
參數netStream:NetStream — The NetStream instance that will be providing the QoS information
| |
maxHistoryLength:uint (default = NaN) — The maximum number of records to keep
|
方法詳細資訊
flush | () | 方法 |
public function flush():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Erases the history
getHistory | () | 方法 |
getLatestQoSInfo | () | 方法 |
常數詳細資訊
DEFAULT_HISTORY_LENGTH | 常數 |
public static const DEFAULT_HISTORY_LENGTH:Number = 10Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性