Notifiers API: API description

Global notes and queries are able to be driven from applications or engines without access to any other UI components or UI environments. They hide the RNotifier API and provide helper classes on top of that.

Global notes provide a simple notification UI with optional soft keys, graphic, animation and tones. They display textual information in a given format. The format or rather the note type is defined by TAknGlobalNoteType. The notes are provided by one class, namely CAknGlobalNote.

One interesting aspect of the global notes is that each note is identified by a TInt ID, and the client can refer to a note with the help of such an ID.

Global queries provide a slightly more complex UI. For example, in case CAknGlobalMsgQuery is located beside the text, a header text and image can also be specified. The following global queries exist:

The displaying order of the global notes and queries (in case of components that have no time-out) is LIFO (last in, first out).

The global notes and queries interact correctly with the key lock mechanism, and hide themselves from the display automatically when a call is active. They reappear once a call has been disconnected. All global notes and queries can be canceled (simultaneously in case several notifiers exist) by pressing the End key while a call is not active. Note that task switching (using the Applications key) is not possible when a global note or query is visible.

Global notes and queries support skins. For more information on skins, refer to Skins API Specification[1].

Use cases

The main use cases of Notifiers API are:

  1. Showing global notes.
  2. Getting global note responses.
  3. Canceling global notes.
  4. Enhancing global notes.
  5. Showing global queries.
  6. Updating a confirmation or message query.
  7. Manipulating the selection in a list or list message query.
  8. Canceling global queries.
  9. Enhancing global queries.

API class structure

Generally all the classes use the Symbian OS Notifier framework, which is a client-server framework to show notes and queries globally. This functionality is provided by the RNotifier, to which all classes connect.

The figure below shows the UML diagram of a global note which is a part of the Notifiers API.

Figure 1: UML diagram of the global note

The figure below and the figures after that show the UML diagrams of the different global queries, including the global progress dialog.

Figure 2: UML diagram of the global confirmation query

The global list query requires a descriptor array of the list items.

Figure 3: UML diagram of the global list query

Figure 4: UML diagram of the global message query

The global list message query requires a descriptor array of the list items.

Figure 5: The UML diagram of the global list message query

Figure 6: UML diagram of the global progress dialog


Copyright © Nokia Corporation 2001-2008
Back to top