Pakiet | org.osmf.net.metrics |
Klasa | public class MetricBase |
Dziedziczenie | MetricBase ![]() |
Podklasy | ActualBitrateMetric, AvailableQualityLevelsMetric, BandwidthMetric, BufferFragmentsMetric, BufferLengthMetric, BufferOccupationRatioMetric, CurrentStatusMetric, DroppedFPSMetric, EmptyBufferMetric, FPSMetric, FragmentCountMetric, RecentSwitchMetric |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 2.0 |
Wersje środowiska wykonawczego: | 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.
Powiązane elementy interfejsu 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
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 |
Właściwości chronione
Właściwość | Zdefiniowane przez |
---|
Metody publiczne
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Constructor. | MetricBase | ||
![]() |
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 |
Metody chronione
Metoda | Zdefiniowane przez |
---|
Szczegół właściwości
Konstruktor Szczegół
MetricBase | () | Konstruktor |
public function MetricBase(qosInfoHistory:QoSInfoHistory, type:String)
Constructor.
ParametryqosInfoHistory:QoSInfoHistory — The QoSInfoHistory to be used for computing the metric
| |
type:String — The type of the metric
|
Szczegół metody
Tue Jun 12 2018, 12:06 PM Z