Package | org.osmf.utils |
Class | public class Version |
Inheritance | Version Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Public Properties
Property | Defined By | ||
---|---|---|---|
buildNumber : String [static] [read-only] | Version | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
version : String [static] [read-only]
The version string in the format of {major}.{minor}. | Version |
Public Methods
Method | Defined By | ||
---|---|---|---|
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
buildNumber | property |
version | property |
version:String
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The version string in the format of {major}.{minor}.
The version comparison rules are as follows, assuming there are v1 and v2:
v1 > v2, if ((v1.major > v2.major) || (v1.major == v2.major && v1.minor > v2.minor) v1 == v2, if (v1.major == v2.major && v1.minor == v2.minor) v1 < v2 //otherwise
Implementation
public static function get version():String
Thu Dec 4 2014, 05:50 PM -08:00