Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
org.osmf.net 

NetStreamSwitchManagerBase  - AS3 OSMF

Paketorg.osmf.net
Sınıfpublic class NetStreamSwitchManagerBase
Miras AlmaNetStreamSwitchManagerBase Inheritance EventDispatcher Inheritance Object
Alt Sınıflar NetStreamSwitchManager, RuleSwitchManagerBase

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

NetStreamSwitchManagerBase is a base class for classes that need to manage transitions between multi-bitrate (MBR) streams.

A NetStreamSwitchManagerBase can work in manual or auto mode. For the former, it will execute upon request the NetStream call that performs the switch. For the latter, it will execute the switch based on its own internal logic.

A NetStreamSwitchManagerBase doesn't dispatch any events indicating state changes. The assumption is that a client will already be listening to events on the NetStream, so there's no need for duplicative events here.

This is an abstract base class, clients must subclass it to implement their own switching logic.



Genel Özellikler
 ÖzellikTanımlayan:
  autoSwitch : Boolean
Indicates whether the switching manager should automatically switch between streams.
NetStreamSwitchManagerBase
 Inheritedconstructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru.
Object
  currentIndex : uint
[salt okunur] Returns the current stream index that is rendering on the client.
NetStreamSwitchManagerBase
  maxAllowedIndex : int
The highest stream index that the switching manager is allowed to switch to.
NetStreamSwitchManagerBase
Korunan Özellikler
 ÖzellikTanımlayan:
  _autoSwitch : Boolean
NetStreamSwitchManagerBase
  _maxAllowedIndex : int
NetStreamSwitchManagerBase
Genel Yöntemler
 YöntemTanımlayan:
  
Constructor.
NetStreamSwitchManagerBase
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
EventDispatcher nesnesi olan bir olay dinleyici nesnesini, dinleyicinin bir olayın bildirimini alması için kaydeder.
EventDispatcher
 Inherited
Olay akışına bir olay gönderir.
EventDispatcher
 Inherited
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder.
EventDispatcher
 Inherited
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir.
Object
 Inherited
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir.
Object
 Inherited
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher nesnesinden bir dinleyiciyi kaldırır.
EventDispatcher
 Inherited
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar.
Object
  
Initiate a switch to the stream with the given index.
NetStreamSwitchManagerBase
 Inherited
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür.
Object
 Inherited
Belirtilen nesnenin dize olarak temsil edilen halini döndürür.
Object
 Inherited
Belirtilen nesnenin temel değerini döndürür.
Object
 Inherited
Bir olay dinleyicisinin bu EventDispatcher nesnesiyle mi, yoksa onun belirtilen olay türüne yönelik üst öğelerinden biriyle mi kayıtlı olduğunu kontrol eder.
EventDispatcher
Olaylar
 Olay Özet Tanımlayan:
 Inherited[broadcast olayı] Flash Player veya AIR uygulaması işletim sistemi odağına gelip etkin olduğunda gönderilir.EventDispatcher
 Inherited[broadcast olayı] Çalışan Flash Player veya AIR uygulaması sistem odağını kaybettiğinde ve etkin olmayan duruma geldiğinde gönderilir.EventDispatcher
Özellik Ayrıntısı

_autoSwitch

özellik
protected var _autoSwitch:Boolean

_maxAllowedIndex

özellik 
protected var _maxAllowedIndex:int

autoSwitch

özellik 
autoSwitch:Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Indicates whether the switching manager should automatically switch between streams. The default is true.



Uygulama
    public function get autoSwitch():Boolean
    public function set autoSwitch(value:Boolean):void

currentIndex

özellik 
currentIndex:uint  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Returns the current stream index that is rendering on the client. Note this may differ from the last index requested if this property is queried after a switch has begun but before it has completed.



Uygulama
    public function get currentIndex():uint

maxAllowedIndex

özellik 
maxAllowedIndex:int

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

The highest stream index that the switching manager is allowed to switch to.



Uygulama
    public function get maxAllowedIndex():int
    public function set maxAllowedIndex(value:int):void
Yapıcı Ayrıntı

NetStreamSwitchManagerBase

()Yapıcı
public function NetStreamSwitchManagerBase()

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Constructor.

Yöntem Ayrıntısı

switchTo

()yöntem
public function switchTo(index:int):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Initiate a switch to the stream with the given index. Note: If the media is paused, switching will not take place until after play resumes.

Parametreler

index:int





[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.