The script tag will cause the browser to request ./code.icepush, which, by convention, is mapped to the ICEpush Servlet in your web.xml file.
Creates a unique push id that can be used for group registration. Multiple push ids can be created for a single page in an application.
(As of 4.1)
Creates a unique push id that can be used for group registration. This function replaced the previous ice.push.createPushId(retries) function and requires a callback function which is used to pass the newly created unique push id. Multiple push ids can be created for a single page in an application.
Adds a previously created push id to a group.
Registers a callback function to a list of push ids. When a push notification occurs for a group that has a registered push id, the ICEpush Bridge will call the registered callback listener function in the browser.
Unregisters a previously created push id with any groups and callback listener functions.
Can be called in a callback function to find the current push ids which are being notified.
(As of 3.4)
Trigger a notification event for the specified groupName. The optional options parameter can be a JS object with properties that are read as name-value pairs.
Removes a push id from a previously joined group.
Payload processing is entirely application-specific. A callback-function is registered against a pushId and application logic within that callback-function must initiate payload retrieval from the server using an XMLHttpRequest and processing the payload in an application-specific way.