There are two ICEpush tags that can benefit from Cloud Push features:
<push:push group="myGroup">
<push:pushPeriodic group="myGroup" interval="milliseconds" >
Currently Cloud Push makes use of a PushNotification with subject and detail. (This will be expanded in the future to include sounds and other device features associated with the notification.) A new tag can be defined:
<push:pushNotification subject="mySubject" detail="myDetail" />
This is used as follows:
<push:push group="myGroup">
<push:pushNotification subject="mySubject" detail="myDetail" />
</push:push>
<push:pushPeriodic group="myGroup" interval="milliseconds" >
<push:pushNotification subject="mySubject" detail="myDetail" />
</push:pushPeriodic>
By defining this as a child tag rather than additional attributes we maintain a closer mapping to the PushContext API and support the PushContext extension mechanism through PushConfiguration. For instance, additional child tags can be defined for a variety of specific PushConfiguration types without requiring a large number of attributes on the basic push tag.
There are two ICEpush tags that can benefit from Cloud Push features:
<push:push group="myGroup">
<push:pushPeriodic group="myGroup" interval="milliseconds" >
Currently Cloud Push makes use of a PushNotification with subject and detail. (This will be expanded in the future to include sounds and other device features associated with the notification.) A new tag can be defined:
<push:pushNotification subject="mySubject" detail="myDetail" />
This is used as follows:
<push:push group="myGroup">
<push:pushNotification subject="mySubject" detail="myDetail" />
</push:push>
<push:pushPeriodic group="myGroup" interval="milliseconds" >
<push:pushNotification subject="mySubject" detail="myDetail" />
</push:pushPeriodic>
By defining this as a child tag rather than additional attributes we maintain a closer mapping to the PushContext API and support the PushContext extension mechanism through PushConfiguration. For instance, additional child tags can be defined for a variety of specific PushConfiguration types without requiring a large number of attributes on the basic push tag.