Using Nokia Notifications Client API

The Nokia Notifications Client API provides the following interfaces and classes (packaged as a part of the Nokia API):

  • NotificationInfo

    Use the NotificationInfo to retrieve application specific settings from the Notification Enabler.

  • NotificationMessage

    Use the NotificationMessage to receive notification messages from a service.

  • NotificationPayload

    Use the NotificationPayload to receive notification payload from a service.

  • NotificationSession

    Use the NotificationSession for communicating with the Notification Enabler.

  • NotificationSessionListener

    Use the NotificationSessionListener to get notified when a message or a notification info is received, or when the notification status changes.

  • NotificationState

    Use the NotificationState to determine the state of notification session i.e. whether the MIDlet is not connected, connecting, or connected to receive notifications.

  • NotificationEnvironment

    Use the NotificationEnvironment to specify the Notification Server environment for the Notification Enabler.

  • NotificationError

    Use the NotificationError to determine errors related to the notification state and exceptions.

  • NotificationSessionFactory

    Use the NotificationSessionFactory to create a notification session to communicate with the Notification Enabler.

    Note: A MIDlet can create only one notification session at a time to communicate with the Notification Enabler, and the notification session should remain open for the lifetime of the MIDlet to receive notification callbacks.

More Information

For Nokia Notifications Client API code examples, see: Nokia Notifications - NotificationExample.