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 

RuleSwitchManagerBase  - AS3 OSMF

Paketorg.osmf.net
Sınıfpublic class RuleSwitchManagerBase
Miras AlmaRuleSwitchManagerBase Inheritance NetStreamSwitchManagerBase Inheritance EventDispatcher Inheritance Object
Alt Sınıflar DefaultHTTPStreamingSwitchManager

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

SwitchManger manages the Adaptive Bitrate experience. It is responsible with putting all the required components together.

İlgili API Öğeleri

org.osmf.net.abr.MetricBase
org.osmf.net.abr.RuleBase


Genel Özellikler
 ÖzellikTanımlayan:
  actualIndex : int
[salt okunur] The index of the currently downloading quality level
RuleSwitchManagerBase
  autoSwitch : Boolean
[geçersiz kıl]
RuleSwitchManagerBase
 Inheritedconstructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru.
Object
  currentIndex : uint
[geçersiz kıl] [salt okunur]
RuleSwitchManagerBase
  emergencyRules : Vector.<RuleBase>
[salt okunur] Array of normal rules to be used in the algorithm.
RuleSwitchManagerBase
 InheritedmaxAllowedIndex : int
The highest stream index that the switching manager is allowed to switch to.
NetStreamSwitchManagerBase
  metricRepository : MetricRepository
[salt okunur] The metric repository responsible with providing the metrics
RuleSwitchManagerBase
Genel Yöntemler
 YöntemTanımlayan:
  
RuleSwitchManagerBase(notifier:EventDispatcher, switcher:NetStreamSwitcher, metricRepository:MetricRepository, emergencyRules:Vector.<RuleBase> = null, autoSwitch:Boolean = true)
Constructor.
RuleSwitchManagerBase
 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
  
Returns an index that satisfies the maxBitrate constraint
RuleSwitchManagerBase
  
Computes the necessary rules and metrics and determines the index to switch to.
RuleSwitchManagerBase
 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
  
[geçersiz kıl]
RuleSwitchManagerBase
 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ı

actualIndex

özellik
actualIndex:int  [salt okunur]

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

The index of the currently downloading quality level



Uygulama
    public function get actualIndex():int

autoSwitch

özellik 
autoSwitch:Boolean[geçersiz kıl]



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

currentIndex

özellik 
currentIndex:uint  [salt okunur] [geçersiz kıl]



Uygulama
    override public function get currentIndex():uint

emergencyRules

özellik 
emergencyRules:Vector.<RuleBase>  [salt okunur]

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

Array of normal rules to be used in the algorithm. An emergency rule can only recommend lower bitrates than the current one.



Uygulama
    public function get emergencyRules():Vector.<RuleBase>

metricRepository

özellik 
metricRepository:MetricRepository  [salt okunur]

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

The metric repository responsible with providing the metrics



Uygulama
    public function get metricRepository():MetricRepository
Yapıcı Ayrıntı

RuleSwitchManagerBase

()Yapıcı
public function RuleSwitchManagerBase(notifier:EventDispatcher, switcher:NetStreamSwitcher, metricRepository:MetricRepository, emergencyRules:Vector.<RuleBase> = null, autoSwitch:Boolean = true)

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

Constructor.

Parametreler
notifier:EventDispatcher — An object that dispatches the HTTPStreamingEvent.RUN_ALGORITHM event
 
switcher:NetStreamSwitcher — The NetStreamSwitcher to use for switching
 
metricRepository:MetricRepository — The repository responsible with providing metrics
 
emergencyRules:Vector.<RuleBase> (default = null) — Array of rules to be used in the algorithm. An emergency rule can only recommend lower bitrates than the current one.
 
autoSwitch:Boolean (default = true) — Flag deciding whether autoSwitch should be enabled
Yöntem Ayrıntısı

getNewEmergencyIndex

()yöntem
public function getNewEmergencyIndex(maxBitrate:Number):uint

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

Returns an index that satisfies the maxBitrate constraint

Parametreler

maxBitrate:Number

Döndürür
uint

getNewIndex

()yöntem 
public function getNewIndex():uint

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

Computes the necessary rules and metrics and determines the index to switch to. The index must be a valid one (it can be higher than maxAllowedIndex, but it should be a real index that is available)

Döndürür
uint

switchTo

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

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.