Callback function that will be invoked when push notifications are available. Push notification listeners can be added with hwc.addPushNotificationListener.
<static> PushNotificationListener( notifications ) → {number}
Name | Type | Description |
notifications | Array | An array of notifications. |
A number indicating whether other push notification listeners should be called after this one. Must be either hwc.NOTIFICATION_CANCEL (if no more listener callbacks should be called) or hwc.NOTIFICATION_CONTINUE (if more listener callbacks should be called).
[/reference/refbody/section/sectiondiv {""})Type:
number
(sectiondiv]