W3C home > Mailing lists > Public > public-web-notification@w3.org > October 2010

Re: Notification types

From: Doug Turner <dougt@dougt.org>
Date: Tue, 26 Oct 2010 20:37:42 -0700
Cc: Web Notification WG <public-web-notification@w3.org>
Message-Id: <0D47B4B0-A7B4-4A83-8206-FE400F4190B4@dougt.org>
To: James Graham <jgraham@opera.com>
I am not really understanding the use cases.  what were you thinking the named constants would be?

Doug

On Oct 26, 2010, at 5:47 AM, James Graham wrote:

> Has the concept of notification types/priorities been discussed? It seems to be a common feature in existing notification APIs to have either a priority system or a category system or both. This has a number of benefits for the user; for example they can set a filter on the notification priority at some level on a system-wide basis or the display can format the priority as appropriate for the notification type.
> 
> The obvious way to expose this sort of thing in the API would be a set of named constants for different types and an extra, optional, argument to the notification constructor (or factory function) for the type constant.
> 
Received on Wednesday, 27 October 2010 03:38:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 14:48:27 GMT