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

Notification types

From: James Graham <jgraham@opera.com>
Date: Tue, 26 Oct 2010 14:47:54 +0200
Message-ID: <4CC6CDFA.6030903@opera.com>
To: Web Notification WG <public-web-notification@w3.org>
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 Tuesday, 26 October 2010 12:48:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:13 UTC