| Paquete | org.osmf.net.rules |
| Clase | public class BandwidthRule |
| Herencia | BandwidthRule RuleBase Object |
| Subclases | BufferBandwidthRule |
| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 2.0 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Propiedades públicas
| Propiedad | Definido por | ||
|---|---|---|---|
![]() | constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | |
![]() | metricRepository : MetricRepository [solo lectura]
The metric repository. | RuleBase | |
| weights : Vector.<Number> [solo lectura]
The weights of the fragments (first values are the weights of the most recent fragments
| BandwidthRule | ||
Propiedades protegidas
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
Constructor. | BandwidthRule | ||
[override]
The recommendation:
Bitrate: The value of the BandwidthMetric
Confidence: Scaled according to the weights and the number of available fragments
| BandwidthRule | ||
![]() |
Indica si un objeto tiene definida una propiedad especificada. | Object | |
![]() |
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | |
![]() |
Indica si existe la propiedad especificada y si es enumerable. | Object | |
![]() |
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | |
![]() |
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | |
![]() |
Devuelve la representación de cadena del objeto especificado. | Object | |
![]() |
Devuelve el valor simple del objeto especificado. | Object | |
Información sobre propiedades
weights | propiedad |
weights:Vector.<Number> [solo lectura] | Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 2.0 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
The weights of the fragments (first values are the weights of the most recent fragments
Implementación
public function get weights():Vector.<Number>Información sobre constructores
BandwidthRule | () | Información sobre |
public function BandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>)| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 2.0 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Constructor.
ParámetrosmetricRepository:MetricRepository — The metric repository from which to retrieve the necessary metrics
| |
weights:Vector.<Number> — The weights of the fragments (first values are the weights of the most recent fragments)
|
Información sobre métodos
getRecommendation | () | método |
override public function getRecommendation():Recommendation| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 2.0 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
The recommendation:
- Bitrate: The value of the BandwidthMetric
- Confidence: Scaled according to the weights and the number of available fragments
Recommendation |
Tue Jun 12 2018, 02:12 PM Z
Ocultar propiedades públicas heredadas
Mostrar propiedades públicas heredadas