W3C home > Mailing lists > Public > public-device-apis@w3.org > February 2013

[discovery-api] how does serviceavailable function in practice

From: Jean-Claude Dufourd <jean-claude.dufourd@telecom-paristech.fr>
Date: Thu, 07 Feb 2013 14:16:10 +0100
Message-ID: <5113A91A.8070001@telecom-paristech.fr>
To: public-device-apis@w3.org
Let us imagine that after a first call to getNetworkServices, I get a 
NetworkServices object with 0 entries.
So I have to listen to the serviceavailable event on that 
NetworkServices object to get any new matching service.
Probably, the event handler is going to provide me with a new obect of 
type NetworkService. Is that correct ?
I did not find in the spec where this is specified.
What did I miss ?
Thanks
JC

-- 
JC Dufourd
Directeur d'Etudes/Professor
Groupe Multimedia/Multimedia Group
Traitement du Signal et Images/Signal and Image Processing
Telecom ParisTech, 37-39 rue Dareau, 75014 Paris, France
Tel: +33145817733 - Mob: +33677843843 - Fax: +33145817144
Received on Thursday, 7 February 2013 13:16:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:58 UTC