Mobile SDK Android: EPZPushNotificationDataEvent

From ePrize Developers Wiki

Revision as of 23:13, 6 November 2014 by Anthony-hessler (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Overview

The EPZPushNotificationDataEvent is dispatched on completion of fetching additional notification data for a push notification.


Event Properties

  • data (Map<Object, Object>) - A map of data associated with the notification (will be null if there was an error fetching notification data). While the key/value pairs of this map are ultimately decided by the originator of the push notification, you can reference the following constant values which are the standard set of keys that are most common to be used:
    • EPZConstants.PUSH_KEY_URL (Constants value: "url")
    • EPZConstants.PUSH_KEY_OPEN_IN_NATIVE_BROWSER (Constants value: "openInNativeBrowser")
    • EPZConstants.PUSH_KEY_PLAIN_TEXT (Constants value: "plainText")
    • EPZConstants.PUSH_KEY_RICH_TEXT (Constants value: "richText")
    • EPZConstants.PUSH_KEY_CLASS_NAME (Constants value: "className")
  • error (Exception) - An exception, if there is a problem fetching the additional notification data (will be null if there is no error).
Personal tools