Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

oracle.adfmf.application
Interface PushNotificationConfig


public interface PushNotificationConfig

Implement this interface to provide configuration used to register for push notifications.


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
 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

String getSourceAuthorizationId()
Returns an ID of the sender authorized to send content to application

Returns:
the ID of the sender

Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.