| Pacote | org.osmf.net.qos |
| Classe | public class QoSInfoHistory |
| Herança | QoSInfoHistory Object |
| 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 | |
| length : uint [somente leitura]
Returns the length of the history
| QoSInfoHistory | ||
| maxHistoryLength : uint
The maximum number of records to keep.
Setting it to a value smaller than the current
number of records results in the overflowing records
being removed (the oldest). | QoSInfoHistory | ||
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
Constructor. | QoSInfoHistory | ||
Erases the history
| QoSInfoHistory | ||
Returns an array with the most recent QoSInfo records
| QoSInfoHistory | ||
Returns the most recent QoSInfo in the history
| QoSInfoHistory | ||
![]() |
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 | |
Constantes públicas
| Constante | Definido por | ||
|---|---|---|---|
| DEFAULT_HISTORY_LENGTH : Number = 10 [estático] | QoSInfoHistory | ||
Detalhes da propriedade
length | propriedade |
maxHistoryLength | propriedade |
maxHistoryLength:uint| 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 maximum number of records to keep. Setting it to a value smaller than the current number of records results in the overflowing records being removed (the oldest).
Implementação
public function get maxHistoryLength():uint public function set maxHistoryLength(value:uint):voidDetalhes do construtor
QoSInfoHistory | () | Construtor |
public function QoSInfoHistory(netStream:NetStream, maxHistoryLength:uint)| 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âmetrosnetStream:NetStream — The NetStream instance that will be providing the QoS information
| |
maxHistoryLength:uint (default = NaN) — The maximum number of records to keep
|
Detalhes do método
flush | () | método |
public function flush():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Erases the history
getHistory | () | método |
public function getHistory(count:uint = 0):Vector.<QoSInfo>| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns an array with the most recent QoSInfo records
Parâmetros
count:uint (default = 0) — the maximum length of the history
|
Vector.<QoSInfo> |
getLatestQoSInfo | () | método |
Detalhes da constante
DEFAULT_HISTORY_LENGTH | Constante |
public static const DEFAULT_HISTORY_LENGTH:Number = 10Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas