Pacchetto | org.osmf.net.metrics |
Classe | public class MetricBase |
Ereditarietà | MetricBase ![]() |
Sottoclassi | ActualBitrateMetric, AvailableQualityLevelsMetric, BandwidthMetric, BufferFragmentsMetric, BufferLengthMetric, BufferOccupationRatioMetric, CurrentStatusMetric, DroppedFPSMetric, EmptyBufferMetric, FPSMetric, FragmentCountMetric, RecentSwitchMetric |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 2.0 |
Versioni runtime: | 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.
Elementi API correlati
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
Proprietà pubbliche
Proprietà | Definito da | ||
---|---|---|---|
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object |
Proprietà protette
Proprietà | Definito da |
---|
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
Constructor. | MetricBase | ||
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object |
Metodi protetti
Metodo | Definito da |
---|
Descrizione delle proprietà
Descrizione della funzione di costruzione
MetricBase | () | Funzione di costruzione |
public function MetricBase(qosInfoHistory:QoSInfoHistory, type:String)
Constructor.
ParametriqosInfoHistory:QoSInfoHistory — The QoSInfoHistory to be used for computing the metric
| |
type:String — The type of the metric
|
Descrizione dei metodi
Tue Jun 12 2018, 02:44 PM Z