프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$attributes | stdClass | Sofware Update attributes | |
$client | Phue client |
메소드 | 설명 | |
---|---|---|
__construct ( stdClass $attributes, |
Construct a Phue SoftwareUpdate object | |
checkForUpdate ( ) : self | Check for update | |
checkingForUpdate ( ) : boolean | Checking for update? | |
disableInstallNotification ( ) : self | Disable the install notification | |
getReleaseNotesBrief ( ) : string | Get release notes brief | |
getReleaseNotesUrl ( ) : string | Get release notes URL | |
getUpdatableLights ( ) : array | Get updatable lights | |
getUpdateState ( ) : integer | Get update state | |
installUpdates ( ) : self | Install updates | |
isBridgeUpdatable ( ) : boolean | Is bridge updatable? | |
isInstallNotificationEnabled ( ) : boolean | Is the install notification enabled? |
public __construct ( stdClass $attributes, |
||
$attributes | stdClass | SoftwareUpdate attributes |
$client | Phue client |
public checkingForUpdate ( ) : boolean | ||
리턴 | boolean | True if checking, false if not |
public disableInstallNotification ( ) : self | ||
리턴 | self | This object |
public getReleaseNotesBrief ( ) : string | ||
리턴 | string | Release notes |
public getReleaseNotesUrl ( ) : string | ||
리턴 | string | Release notes URL |
public getUpdatableLights ( ) : array | ||
리턴 | array | List of updatable light ids |
public getUpdateState ( ) : integer | ||
리턴 | integer | Update state |
public isBridgeUpdatable ( ) : boolean | ||
리턴 | boolean | True if updatable, false if not |
public isInstallNotificationEnabled ( ) : boolean | ||
리턴 | boolean | True if completed, false if not |