套件 | org.osmf.net.rules |
類別 | public class DroppedFPSRule |
繼承 | DroppedFPSRule RuleBase Object |
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 2.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
desiredSampleLength : Number
The desired length of the content (in seconds) on which to compute the dropped FPS metric
| DroppedFPSRule | ||
maximumDroppedFPSRatio : Number
The maximum acceptable ratio of dropped FPS (droppedFPS / FPS)
| DroppedFPSRule | ||
metricRepository : MetricRepository [唯讀]
The metric repository. | RuleBase |
公用方法
方法 | 定義自 | ||
---|---|---|---|
DroppedFPSRule(metricRepository:MetricRepository, desiredSampleLength:Number, maximumDroppedFPSRatio:Number)
Constructor. | DroppedFPSRule | ||
[覆寫]
The recommendation
| DroppedFPSRule | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
屬性詳細資訊
desiredSampleLength | 屬性 |
desiredSampleLength:Number
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 2.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
The desired length of the content (in seconds) on which to compute the dropped FPS metric
實作
public function get desiredSampleLength():Number
public function set desiredSampleLength(value:Number):void
擲回值
ArgumentError — If the desiredSampleLength is set to NaN, zero or a negative number
|
maximumDroppedFPSRatio | 屬性 |
maximumDroppedFPSRatio:Number
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 2.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
The maximum acceptable ratio of dropped FPS (droppedFPS / FPS)
實作
public function get maximumDroppedFPSRatio():Number
public function set maximumDroppedFPSRatio(value:Number):void
擲回值
ArgumentError — If the maximumDroppedFramesRatio is set to a value outside
the [0, 1] interval (inclusive)
|
建構函式詳細資料
DroppedFPSRule | () | 建構函式 |
public function DroppedFPSRule(metricRepository:MetricRepository, desiredSampleLength:Number, maximumDroppedFPSRatio:Number)
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 2.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Constructor.
參數metricRepository:MetricRepository — The metric repository from which to retrieve the necessary metrics
| |
desiredSampleLength:Number — The desired length of the content (in seconds) on which to compute the dropped FPS metric
| |
maximumDroppedFPSRatio:Number — The maximum acceptable ratio of dropped FPS (droppedFPS / FPS)
|
方法詳細資訊
getRecommendation | () | 方法 |
override public function getRecommendation():Recommendation
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 2.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
The recommendation
傳回值Recommendation |
Tue Jun 12 2018, 03:47 PM Z