ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.net.metrics 

DefaultMetricFactory  - AS3 OSMF

Packageorg.osmf.net.metrics
Classpublic class DefaultMetricFactory
InheritanceDefaultMetricFactory Inheritance MetricFactory Inheritance Object

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

DefaultMetricFactory is the default implementation of the MetricFactory.

The default metric factory can construct metrics of the following types:

  • ActualBitrateMetric
  • FragmentCountMetric
  • AvailableQualityLevelsMetric
  • BandwidthMetric
  • FPSMetric
  • DroppedFPSMetric
  • BufferOccupationRatioMetric
  • BufferLengthMetric
  • BufferFragmentsMetric
  • EmptyBufferInterruptionMetric



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritednumItems : Number
[read-only] The number of items
MetricFactory
Public Methods
 MethodDefined By
  
Constructor.
DefaultMetricFactory
 Inherited
Adds the specified MetricFactoryItem to the factory.
MetricFactory
 Inherited
Produces a MetricBase.
MetricFactory
 Inherited
The item corresponding to the specified metric type
MetricFactory
 Inherited
The registered items
MetricFactory
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Removes the specified MetricFactoryItem from the factory.
MetricFactory
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail

DefaultMetricFactory

()Constructor
public function DefaultMetricFactory(qosInfoHistory:QoSInfoHistory)

Language Version: ActionScript 3.0
Product Version: OSMF 2.0
Runtime Versions: Flash Player 10, AIR 1.5

Constructor.

Parameters
qosInfoHistory:QoSInfoHistory