Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


oracle.adfmf.application
Interface PushNotificationConfig


public interface PushNotificationConfig

Implement this interface in Application life-cycle listener to enable push notifications and to provide configuration needed to register with device specific push notification service.


Field Summary
static long NOTIFICATION_STYLE_ALERT
          Enables display of an Alert dialog on receiving notification if included in getNotificationStyle()
static long NOTIFICATION_STYLE_BADGE
          Enables badging of application icon on receiving notification if included in getNotificationStyle()
static long NOTIFICATION_STYLE_SOUND
          Enables playing a sound on receiving notification if included in getNotificationStyle()

 

Method Summary
 long getNotificationStyle()
          Returns a Notification Style bit mask that would be used when showing a notification to the user
 java.lang.String getSourceAuthorizationId()
          Returns an ID of the sender authorized to send content to application

 

Field Detail

NOTIFICATION_STYLE_BADGE

static final long NOTIFICATION_STYLE_BADGE
Enables badging of application icon on receiving notification if included in getNotificationStyle()
See Also:
Constant Field Values

NOTIFICATION_STYLE_SOUND

static final long NOTIFICATION_STYLE_SOUND
Enables playing a sound on receiving notification if included in getNotificationStyle()
See Also:
Constant Field Values

NOTIFICATION_STYLE_ALERT

static final long NOTIFICATION_STYLE_ALERT
Enables display of an Alert dialog on receiving notification if included in getNotificationStyle()
See Also:
Constant Field Values

Method Detail

getNotificationStyle

long getNotificationStyle()
Returns a Notification Style bit mask that would be used when showing a notification to the user
Returns:
a bit mask of notification styles. ex : NOTIFICATION_STYLE_ALERT | NOTIFICATION_STYLE_BADGE

getSourceAuthorizationId

java.lang.String getSourceAuthorizationId()
Returns an ID of the sender authorized to send content to application
Returns:
the ID of the sender

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


Copyright © 2012, 2013 Oracle. All Rights Reserved.