適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
org.osmf.net 

StreamingItem  - AS3 OSMF

套件org.osmf.net
類別public class StreamingItem
繼承StreamingItem Inheritance Object

語言版本: ActionScript 3.0
產品版本: OSMF 1.6
執行階段版本: Flash Player 10, AIR 1.5

The StreamingItem class represents a single media stream within a StreamingURLResource.

相關 API 元素



公用屬性
 屬性定義自
  bitrate : Number
[唯讀] Returns a Number giving the stream’s bit rate, specified in kilobits per second (kbps).
StreamingItem
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
  info : Object
[唯讀] Returns an Object containing any custom information associated with the stream.
StreamingItem
  streamName : String
[唯讀] Returns a String used to identify the stream.
StreamingItem
  type : String
[唯讀] Returns a String specifying the type of the stream.
StreamingItem
公用方法
 方法定義自
  
StreamingItem(type:String, streamName:String, bitrate:Number = 0, info:Object = null)
Default constructor
StreamingItem
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
會傳回指定之物件的基本值。
Object
屬性詳細資訊

bitrate

屬性
bitrate:Number  [唯讀]

語言版本: ActionScript 3.0
產品版本: OSMF 1.6
執行階段版本: Flash Player 10, AIR 1.5

Returns a Number giving the stream’s bit rate, specified in kilobits per second (kbps).



實作
    public function get bitrate():Number

info

屬性 
info:Object  [唯讀]

語言版本: ActionScript 3.0
產品版本: OSMF 1.6
執行階段版本: 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.



實作
    public function get info():Object

streamName

屬性 
streamName:String  [唯讀]

語言版本: ActionScript 3.0
產品版本: OSMF 1.6
執行階段版本: Flash Player 10, AIR 1.5

Returns a String used to identify the stream.



實作
    public function get streamName():String

type

屬性 
type:String  [唯讀]

語言版本: ActionScript 3.0
產品版本: OSMF 1.6
執行階段版本: 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.



實作
    public function get type():String
建構函式詳細資料

StreamingItem

()建構函式
public function StreamingItem(type:String, streamName:String, bitrate:Number = 0, info:Object = null)

語言版本: ActionScript 3.0
產品版本: OSMF 1.6
執行階段版本: Flash Player 10, AIR 1.5

Default constructor

參數
type: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.




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。