Property | Type | Description | |
---|---|---|---|
$attributes | stdClass | Sofware Update attributes | |
$client | Phue client |
Method | Description | |
---|---|---|
__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 checkForUpdate ( ) : self | ||
return | self | This object |
public checkingForUpdate ( ) : boolean | ||
return | boolean | True if checking, false if not |
public disableInstallNotification ( ) : self | ||
return | self | This object |
public getReleaseNotesBrief ( ) : string | ||
return | string | Release notes |
public getReleaseNotesUrl ( ) : string | ||
return | string | Release notes URL |
public getUpdatableLights ( ) : array | ||
return | array | List of updatable light ids |
public getUpdateState ( ) : integer | ||
return | integer | Update state |
public installUpdates ( ) : self | ||
return | self | This object |
public isBridgeUpdatable ( ) : boolean | ||
return | boolean | True if updatable, false if not |
public isInstallNotificationEnabled ( ) : boolean | ||
return | boolean | True if completed, false if not |
protected stdClass $attributes | ||
return | stdClass |