Difference between revisions of "Notifications"

From WebOS-Ports
Jump to navigation Jump to search
(First draft of the notifications for WebOS-Ports)
 
 
(One intermediate revision by the same user not shown)
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
+
* Compatible with Freedesktop's notifications API http://www.galago-project.org/specs/notification/0.9/index.html
- Flexible
+
* Flexible
- Simple to use
+
* Simple to use
- Include creation, update and deletion of notifications
+
* 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 .
  
 
== Current status of the API ==
 
== Current status of the API ==
* The DBus notifications are currently supported.  
+
The current status is:
* A very simple LS2 API is available: luna://org.webosports.luna/createNotification with the same arguments are for the DBus notification creation 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 ==
 
== Proposal ==
  
 
The current proposal is to integrate the ideas of the Chrome Notifications API (templates,...) while keeping a compatibility with Freedesktop's notifications.
 
The current proposal is to integrate the ideas of the Chrome Notifications API (templates,...) while keeping a compatibility with Freedesktop's notifications.

Latest revision as of 10:41, 2 June 2014

Target

The notification API needs to be updated in WebOS-Ports. The requirements for this API are:

One candidate for inspiration is Chrome's notifications API: see https://developer.chrome.com/apps/notifications .

Current status of the API

The current status is:

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