AbleCloud PHP SDK
1.8.x
PHP SDK of AbleCloud API
|
Public 成员函数 | |
__construct ($currentVersion, $newVersion, $updateLog='') | |
getCurrentVersion () | |
getNewVersion () | |
getUpdateLog () | |
canUpdate () | |
OTA版本信息。
ACOtaVersion::__construct | ( | $currentVersion, | |
$newVersion, | |||
$updateLog = '' |
|||
) |
构造函数。
$currentVersion | 字符串,表示当前版本号,如:1-0-1。 |
$newVersion | 字符串,表示新版本号,如:1-0-2。 |
$updateLog | 字符串,表示新版本的升级说明。 |
ACOtaVersion::canUpdate | ( | ) |
检查是否可升级:检查新版本是否高于当前版本。
ACOtaVersion::getCurrentVersion | ( | ) |
取当前版本信息。
ACOtaVersion::getNewVersion | ( | ) |
取新版本信息。
ACOtaVersion::getUpdateLog | ( | ) |
取新版本的更新信息。