Packagecom.adobe.mediacore
Classpublic final class ABRControlParametersBuilder
InheritanceABRControlParametersBuilder Inheritance Object

Helper class used for creating valid ABRControlParameters instances. This allow setting each ABR control parameter individually.



Public Properties
 PropertyDefined By
  initialBitRate : int
The value of the initial bit-rate control parameter.
ABRControlParametersBuilder
  maxBitRate : int
The value of the maximum bit-rate control parameter.
ABRControlParametersBuilder
  minBitRate : int
The value of the minimum bit-rate control parameter.
ABRControlParametersBuilder
  policy : String
The value of the initial bit-rate control parameter.
ABRControlParametersBuilder
Public Methods
 MethodDefined By
  
Default constructor.
ABRControlParametersBuilder
  
Builder method for an ABRControlParameter instance.
ABRControlParametersBuilder
Property Detail
initialBitRateproperty
initialBitRate:int

The value of the initial bit-rate control parameter.


Implementation
    public function get initialBitRate():int
    public function set initialBitRate(value:int):void
maxBitRateproperty 
maxBitRate:int

The value of the maximum bit-rate control parameter. Setting this property to NaN or a value smaller than minBitRate will result in an ArgumentError being thrown.


Implementation
    public function get maxBitRate():int
    public function set maxBitRate(value:int):void
minBitRateproperty 
minBitRate:int

The value of the minimum bit-rate control parameter. Setting this property to NaN or a value greater than maxBitRate will result in an ArgumentError being thrown.


Implementation
    public function get minBitRate():int
    public function set minBitRate(value:int):void
policyproperty 
policy:String

The value of the initial bit-rate control parameter. Setting this property to an unsupported ABR policy will result in an ArgumentError being thrown.


Implementation
    public function get policy():String
    public function set policy(value:String):void
Constructor Detail
ABRControlParametersBuilder()Constructor
public function ABRControlParametersBuilder()

Default constructor.

Method Detail
toABRControlParameters()method
public function toABRControlParameters():ABRControlParameters

Builder method for an ABRControlParameter instance.

Returns
ABRControlParameters — a valid ABRControlParameter instance.