Свойство | Type | Description | |
---|---|---|---|
$attributes | stdClass | Sofware Update attributes | |
$client | Phue client |
Méthode | 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 | ||
Résultat | self | This object |
public checkingForUpdate ( ) : boolean | ||
Résultat | boolean | True if checking, false if not |
public disableInstallNotification ( ) : self | ||
Résultat | self | This object |
public getReleaseNotesBrief ( ) : string | ||
Résultat | string | Release notes |
public getReleaseNotesUrl ( ) : string | ||
Résultat | string | Release notes URL |
public getUpdatableLights ( ) : array | ||
Résultat | array | List of updatable light ids |
public getUpdateState ( ) : integer | ||
Résultat | integer | Update state |
public installUpdates ( ) : self | ||
Résultat | self | This object |
public isBridgeUpdatable ( ) : boolean | ||
Résultat | boolean | True if updatable, false if not |
public isInstallNotificationEnabled ( ) : boolean | ||
Résultat | boolean | True if completed, false if not |
protected stdClass $attributes | ||
Résultat | stdClass |