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 

MetricValue  - AS3 OSMF

Packageorg.osmf.net.metrics
Classpublic class MetricValue
InheritanceMetricValue Inheritance Object

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

MetricValue represents a MetricBase's value.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  valid : Boolean
[read-only] The validity of the metric's actual value.
MetricValue
  value : *
[read-only] The actual value of the metric
MetricValue
Public Methods
 MethodDefined By
  
MetricValue(value:*, valid:Boolean = true)
Constructor.
MetricValue
 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
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
Property Detail

valid

property
valid:Boolean  [read-only]

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

The validity of the metric's actual value.



Implementation
    public function get valid():Boolean

value

property 
value:*  [read-only]

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

The actual value of the metric



Implementation
    public function get value():*
Constructor Detail

MetricValue

()Constructor
public function MetricValue(value:*, valid:Boolean = true)

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

Constructor.

Parameters
value:* — The actual value of the metric.
 
valid:Boolean (default = true) — Specifies the validity of the actual value.