| Pakiet | org.osmf.net.rules |
| Klasa | public class DroppedFPSRule |
| Dziedziczenie | DroppedFPSRule RuleBase Object |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 2.0 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Właściwości publiczne
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | 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 [tylko do odczytu]
The metric repository. | RuleBase | |
Właściwości chronione
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
DroppedFPSRule(metricRepository:MetricRepository, desiredSampleLength:Number, maximumDroppedFPSRatio:Number)
Constructor. | DroppedFPSRule | ||
[przesłanianie]
The recommendation
| DroppedFPSRule | ||
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
Szczegół właściwości
desiredSampleLength | właściwość |
desiredSampleLength:Number| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 2.0 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
The desired length of the content (in seconds) on which to compute the dropped FPS metric
Implementacja
public function get desiredSampleLength():Number public function set desiredSampleLength(value:Number):voidZgłasza
ArgumentError — If the desiredSampleLength is set to NaN, zero or a negative number
|
maximumDroppedFPSRatio | właściwość |
maximumDroppedFPSRatio:Number| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 2.0 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
The maximum acceptable ratio of dropped FPS (droppedFPS / FPS)
Implementacja
public function get maximumDroppedFPSRatio():Number public function set maximumDroppedFPSRatio(value:Number):voidZgłasza
ArgumentError — If the maximumDroppedFramesRatio is set to a value outside
the [0, 1] interval (inclusive)
|
Konstruktor Szczegół
DroppedFPSRule | () | Konstruktor |
public function DroppedFPSRule(metricRepository:MetricRepository, desiredSampleLength:Number, maximumDroppedFPSRatio:Number)| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 2.0 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Constructor.
ParametrymetricRepository: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)
|
Szczegół metody
getRecommendation | () | metoda |
override public function getRecommendation():Recommendation| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 2.0 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
The recommendation
ZwracaRecommendation |
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne