C E G I M N O R S T U

C

CHINA_PRODUCTION - Static variable in class com.nokia.notifications.NotificationEnvironment
Notification Enabler is connected to China Production server.
close() - Method in interface com.nokia.notifications.NotificationSession
Frees resources allocated for this session.
com.nokia.notifications - package com.nokia.notifications
 

E

ENCODING_BASE64 - Static variable in interface com.nokia.notifications.NotificationPayload
Encoding value for binary data.
ENCODING_NONE - Static variable in interface com.nokia.notifications.NotificationPayload
Payload is not encoded.
ENCODING_STRING - Static variable in interface com.nokia.notifications.NotificationPayload
Encoding value when the payload is plain text.
ERROR_APPLICATION_ID_CONFLICT - Static variable in class com.nokia.notifications.NotificationError
Conflicting Application ID.
ERROR_APPLICATION_ID_INVALID - Static variable in class com.nokia.notifications.NotificationError
Returned when trying to register MIDlet with invalid Application ID.
ERROR_AUTHENTICATION_FAILED - Static variable in class com.nokia.notifications.NotificationError
This error occurs if the device is not able to fetch the authentication details from server.
ERROR_CONNECTION_DISABLED_BY_USER - Static variable in class com.nokia.notifications.NotificationError
User has disabled all connections like WiFi and Cellular network.
ERROR_DISABLED_BY_USER - Static variable in class com.nokia.notifications.NotificationError
User has disabled all notifications for this MIDlet.
ERROR_ENABLER_EXITED - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_ENABLER_NOT_FOUND - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_INVALID_SERVICE_ID - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_NO_ACCOUNT - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_NO_NETWORK - Static variable in class com.nokia.notifications.NotificationError
Network connection not available.
ERROR_NONE - Static variable in class com.nokia.notifications.NotificationError
No error occurred.
ERROR_NOT_ALLOWED - Static variable in class com.nokia.notifications.NotificationError
NotificationSession is not in correct state.
ERROR_NOT_KNOWN - Static variable in class com.nokia.notifications.NotificationError
Returned when error is anything other than listed above.
ERROR_NOT_REGISTERED - Static variable in class com.nokia.notifications.NotificationError
MIDlet is not registered but it called a function that requires registration.
ERROR_NOTIFICATION_ID_INVALIDATED - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_OFFLINE - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_OPERATION_FAILED - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_REGISTER_FAILED - Static variable in class com.nokia.notifications.NotificationError
Registration failed because there is not enough space available in the device memory to store the settings.
ERROR_SERVICE_ID_CONFLICT - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.
ERROR_SERVICE_UNAVAILABLE - Static variable in class com.nokia.notifications.NotificationError
Notification service is no longer available because service's authentication has expired.
ERROR_SESSION_CLOSED - Static variable in class com.nokia.notifications.NotificationError
NotificationSession function call failed because session was closed.
ERROR_UNREGISTER_FAILED - Static variable in class com.nokia.notifications.NotificationError
Deprecated. This is not supported in Nokia Asha OS 1.0.

G

getBase64Data() - Method in interface com.nokia.notifications.NotificationPayload
Returns the decoded Base64 data.
getData() - Method in interface com.nokia.notifications.NotificationPayload
Returns the payload data as a string.
getEncoding() - Method in interface com.nokia.notifications.NotificationPayload
Returns the encoding type of the data.
getEnvironment() - Method in interface com.nokia.notifications.NotificationSession
Check which domain Notification Enabler is connected.
getFrom() - Method in interface com.nokia.notifications.NotificationMessage
Returns sender's JID.
getNotificationId() - Method in interface com.nokia.notifications.NotificationInfo
Returns the Notification ID used by the service to identify the device to send notifications.
getNotificationInformation() - Method in interface com.nokia.notifications.NotificationSession
Asynchronous function to retrieve Notification ID used by Notification Enabler.
getNotificationItemId() - Method in interface com.nokia.notifications.NotificationMessage
Returns the item ID of the message.
getNotificationsEnablerVersion() - Static method in class com.nokia.notifications.NotificationSessionFactory
Returns the version of the Notification Enabler
getPayload() - Method in interface com.nokia.notifications.NotificationMessage
Returns NotificationPayload object.
getReason() - Method in exception com.nokia.notifications.NotificationException
Returns the reason for the exception.
getReceiveAtLatest() - Method in interface com.nokia.notifications.NotificationSession
Returns the MIDlet's receive at latest -value.
getSenderInformation() - Method in interface com.nokia.notifications.NotificationMessage
Returns sender's Application ID.
getSessionError() - Method in interface com.nokia.notifications.NotificationState
Returns the error.
getSessionState() - Method in interface com.nokia.notifications.NotificationState
Returns the state.
getTimestamp() - Method in interface com.nokia.notifications.NotificationMessage
Returns message publication time.
getTitle() - Method in interface com.nokia.notifications.NotificationMessage
Returns the message title.
getType() - Method in interface com.nokia.notifications.NotificationPayload
Returns the content type of the data.
GLOBAL_PRODUCTION - Static variable in class com.nokia.notifications.NotificationEnvironment
Notification Enabler is connected to Global server.

I

infoReceived(NotificationInfo) - Method in interface com.nokia.notifications.NotificationSessionListener
Called when notification info is received.
isAudioAlertEnabled() - Method in interface com.nokia.notifications.NotificationSession
Returns audio alert setting of the MIDlet.
isWakeUp() - Method in interface com.nokia.notifications.NotificationSession
Deprecated. This API is not supported in Nokia Asha OS 1.0. NNA registered MIDlet will always have wake-up as true.

M

messageReceived(NotificationMessage) - Method in interface com.nokia.notifications.NotificationSessionListener
Called when notification message is received.

N

NotificationEnvironment - Class in com.nokia.notifications
This class defines all the Notification server environment which can be connected from Notification Enabler.
NotificationEnvironment() - Constructor for class com.nokia.notifications.NotificationEnvironment
 
NotificationError - Class in com.nokia.notifications
This class defines all the error codes used by NotificationException and NotificationState.
NotificationError() - Constructor for class com.nokia.notifications.NotificationError
 
NotificationException - Exception in com.nokia.notifications
Exception for notification actions.
NotificationException(int, String) - Constructor for exception com.nokia.notifications.NotificationException
Creates a new NotificationException instance.
NotificationException(int) - Constructor for exception com.nokia.notifications.NotificationException
Creates a new NotificationException instance.
NotificationInfo - Interface in com.nokia.notifications
Contains MIDlet specific settings from Notification Enabler.
NotificationMessage - Interface in com.nokia.notifications
NotificationMessage is notification received from a service.
NotificationPayload - Interface in com.nokia.notifications
NotificationPayload is the notification payload that is received from the service.
NotificationSession - Interface in com.nokia.notifications
NotificationMessage is the interface for communicating with the Notification Enabler.
NotificationSessionFactory - Class in com.nokia.notifications
Creates NotificationSession that this MIDlet can use to communicate with the Notification Enabler.
NotificationSessionListener - Interface in com.nokia.notifications
Gets notified when a message or a notification info is received or when the status changes.
NotificationState - Interface in com.nokia.notifications
NotificationState describes the state of the NotificationSession.

O

openSession(MIDlet, String, String, NotificationSessionListener) - Static method in class com.nokia.notifications.NotificationSessionFactory
Creates NotificationSession that this MIDlet can use to communicate with the Notification Enabler.
OTHER_ENVIRONMENT - Static variable in class com.nokia.notifications.NotificationEnvironment
Notification Enabler is connected to other internal server.

R

registerApplication(boolean) - Method in interface com.nokia.notifications.NotificationSession
Asynchronous call to register the MIDlet to receive notifications.
registerApplication() - Method in interface com.nokia.notifications.NotificationSession
Calls NotificationSession.registerApplication(boolean) with parameter requireUserAuthentication set to false.

S

SANDBOX - Static variable in class com.nokia.notifications.NotificationEnvironment
Notification Enabler is connected to Sandbox server.
setAudioAlertEnabled(boolean) - Method in interface com.nokia.notifications.NotificationSession
Turns audio alert on or off for the MIDlet.
setReceiveAtLatest(int) - Method in interface com.nokia.notifications.NotificationSession
Sets the MIDlet's receive at latest -value.
setWakeUp(boolean) - Method in interface com.nokia.notifications.NotificationSession
Deprecated. This API is not supported in Nokia Asha OS 1.0. NNA registered MIDlet cannot set or unset the wake-up setting. If the MIDlet wants to disable NNA, it should use #unregisterApplication(). Calling this API does not do anything with NNA.
STATE_CONNECTING - Static variable in interface com.nokia.notifications.NotificationState
MIDlet is connecting to receive notifications.
STATE_OFFLINE - Static variable in interface com.nokia.notifications.NotificationState
MIDlet has no connection and it can not receive notifications.
STATE_ONLINE - Static variable in interface com.nokia.notifications.NotificationState
MIDlet has connected and it can receive notifications.
stateChanged(NotificationState) - Method in interface com.nokia.notifications.NotificationSessionListener
Called when session state changes.

T

toString() - Method in exception com.nokia.notifications.NotificationException
 
TYPE_APPLICATION_OCTET_STREAM - Static variable in interface com.nokia.notifications.NotificationPayload
Content type for binary data.

U

unregisterApplication() - Method in interface com.nokia.notifications.NotificationSession
Asynchronous call to unregister the MIDlet.

C E G I M N O R S T U