Difference between revisions of "Notifications"
Jump to navigation
Jump to search
(First draft of the notifications for WebOS-Ports) |
m (→Target) |
||
Line 1: | Line 1: | ||
== Target == | == Target == | ||
The notification API needs to be updated in WebOS-Ports. The requirements for this API are: | The notification API needs to be updated in WebOS-Ports. The requirements for this API are: | ||
− | + | * Compatible with Freedesktop's notifications API http://www.galago-project.org/specs/notification/0.9/index.html | |
− | + | * Flexible | |
− | + | * Simple to use | |
− | + | * Include creation, update and deletion of notifications | |
One candidate for inspiration is Chrome's notifications API: see https://developer.chrome.com/apps/notifications . | One candidate for inspiration is Chrome's notifications API: see https://developer.chrome.com/apps/notifications . |
Revision as of 10:40, 2 June 2014
Target
The notification API needs to be updated in WebOS-Ports. The requirements for this API are:
- Compatible with Freedesktop's notifications API http://www.galago-project.org/specs/notification/0.9/index.html
- Flexible
- Simple to use
- Include creation, update and deletion of notifications
One candidate for inspiration is Chrome's notifications API: see https://developer.chrome.com/apps/notifications .
Current status of the API
* The DBus notifications are currently supported. * A very simple LS2 API is available: luna://org.webosports.luna/createNotification with the same arguments are for the DBus notification creation API.
Proposal
The current proposal is to integrate the ideas of the Chrome Notifications API (templates,...) while keeping a compatibility with Freedesktop's notifications.