Name | Description | Type | Use |
---|---|---|---|
application | The application's ID or URL address. | string |
required |
callback | Passed while checking if the application's cache manifest has been modified, which signifies that an update is available. | object |
required |
username | Overrides the identifier parameter set by the AccountManager . | string |
optional |
password | Overrides the username parameter set by the AccountManager . | string |
optional |
The CacheManifestUpdate
listener's callback can be structured as
follows:
{ onFailure: function(error) { ... }, onSuccess: function(state) { ... } }
Name | Description | Return type |
---|---|---|
onFailure |
Indicates that it was impossible to verify if an update of the application is available. |
undefined |
onSuccess |
Indicates that it was possible to verify the status of an update. Notifies if an update of the application is available. |
undefined |