套件 | org.osmf.utils |
類別 | public class Version |
繼承 | Version Object |
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
buildNumber : String [靜態] [唯讀] | Version | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
version : String [靜態] [唯讀]
The version string in the format of {major}.{minor}. | Version |
屬性詳細資訊
buildNumber | 屬性 |
version | 屬性 |
version:String
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.0 |
執行階段版本: | 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
實作
public static function get version():String
Tue Jun 12 2018, 03:47 PM Z