Package | org.osmf.net.metrics |
Class | public class MetricFactoryItem |
Inheritance | MetricFactoryItem Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
metricCreationFunction : Function [read-only]
Function which creates a new instance of the desired MetricBase. | MetricFactoryItem | ||
type : String [read-only]
The type of metric handled by this MetricFactoryItem. | MetricFactoryItem |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | MetricFactoryItem | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
metricCreationFunction | property |
metricCreationFunction:Function
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Function which creates a new instance of the desired MetricBase. The function must return a MetricBase.
Implementation
public function get metricCreationFunction():Function
type | property |
Constructor Detail
MetricFactoryItem | () | Constructor |
public function MetricFactoryItem(type:String, metricCreationFunction:Function)
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
Parameterstype:String — An identifier that represents this MetricFactoryItem.
| |
metricCreationFunction:Function — Function which creates a new instance
of the desired MetricBase. The function must take no params, and
return a MetricBase.
|
Throws
ArgumentError — If any argument is null.
|
Thu Dec 6 2018, 01:12 PM -08:00