套件 | org.osmf.net.metrics |
類別 | public class MetricBase |
繼承 | MetricBase ![]() |
子類別 | ActualBitrateMetric, AvailableQualityLevelsMetric, BandwidthMetric, BufferFragmentsMetric, BufferLengthMetric, BufferOccupationRatioMetric, CurrentStatusMetric, DroppedFPSMetric, EmptyBufferMetric, FPSMetric, FragmentCountMetric, RecentSwitchMetric |
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 2.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
MetricBase is a base class for metrics used for Adaptive Bitrate. A metric's value is computed based on QoSInfoHistory. A metric is identified by its type.
The base class handles the caching of the computed value. The subclasses should only implement the actual computation.
All subclasses should have qosInfoHistory
as the first parameter in the constructor.
All subclasses must set the _type
in the constructor.
相關 API 元素
org.osmf.net.abr.MetricType
org.osmf.net.abr.MetricValue
org.osmf.net.abr.QoSInfoHistory
org.osmf.net.abr.MetricValue
org.osmf.net.abr.QoSInfoHistory
保護屬性
屬性 | 定義自 |
---|
公用方法
方法 | 定義自 | ||
---|---|---|---|
Constructor. | MetricBase | ||
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object |
保護方法
方法 | 定義自 |
---|
屬性詳細資訊
建構函式詳細資料
MetricBase | () | 建構函式 |
public function MetricBase(qosInfoHistory:QoSInfoHistory, type:String)
Constructor.
參數qosInfoHistory:QoSInfoHistory — The QoSInfoHistory to be used for computing the metric
| |
type:String — The type of the metric
|
方法詳細資訊
Tue Jun 12 2018, 03:47 PM Z