| Pacote | org.osmf.net.rules |
| Classe | public class BandwidthRule |
| Herança | BandwidthRule RuleBase Object |
| Subclasses | BufferBandwidthRule |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Propriedades públicas
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
![]() | metricRepository : MetricRepository [somente leitura]
The metric repository. | RuleBase | |
| weights : Vector.<Number> [somente leitura]
The weights of the fragments (first values are the weights of the most recent fragments
| BandwidthRule | ||
Propriedades protegidas
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
Constructor. | BandwidthRule | ||
[substituir]
The recommendation:
Bitrate: The value of the BandwidthMetric
Confidence: Scaled according to the weights and the number of available fragments
| BandwidthRule | ||
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
Detalhes da propriedade
weights | propriedade |
Detalhes do construtor
BandwidthRule | () | Construtor |
public function BandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>)| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | 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)
|
Detalhes do método
getRecommendation | () | método |
override public function getRecommendation():Recommendation| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | 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 |
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas