| Pakiet | org.osmf.net |
| Klasa | public class StreamingItem |
| Dziedziczenie | StreamingItem Object |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 1.6 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Powiązane elementy interfejsu API
Właściwości publiczne
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| bitrate : Number [tylko do odczytu]
Returns a Number giving the stream’s bit rate,
specified in kilobits per second (kbps). | StreamingItem | ||
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
| info : Object [tylko do odczytu]
Returns an Object containing any custom information
associated with the stream. | StreamingItem | ||
| streamName : String [tylko do odczytu]
Returns a String used to identify the stream. | StreamingItem | ||
| type : String [tylko do odczytu]
Returns a String specifying the type of the stream. | StreamingItem | ||
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
Default constructor
| StreamingItem | ||
![]() |
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 | |
Szczegół właściwości
bitrate | właściwość |
info | właściwość |
info:Object [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 1.6 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Returns an Object containing any custom information
associated with the stream. Typically, this can include the width
and height of the video, but it could also contain a user-friendly
description of the stream.
Implementacja
public function get info():ObjectstreamName | właściwość |
type | właściwość |
type:String [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 1.6 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Returns a String specifying the type of the stream.
Possible values are VIDEO, for a stream that includes
video, and AUDIO, for a stream that contains only audio.
Implementacja
public function get type():StringKonstruktor Szczegół
StreamingItem | () | Konstruktor |
public function StreamingItem(type:String, streamName:String, bitrate:Number = 0, info:Object = null)| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | OSMF 1.6 |
| Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Default constructor
Parametrytype:String — The StreamingItemType of the stream. Allowed values
are VIDEO, for a stream that includes video, and
AUDIO, for a stream that contains only audio.
| |
streamName:String — A String used to identify this stream.
| |
bitrate:Number (default = 0) — A Number specifying the stream’s encoded bit rate
in kbps (kilobits per second).
| |
info:Object (default = null) — An Object containing any custom information associated
with the stream. Typically, this can include the width and height
of the video, but it could also contain a user-friendly description
of the stream.
|
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne