- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Sat, 08 Jun 2013 10:14:43 +0900
- To: Tommy Widenflycht (ᛏᚮᛘᛘᚤ) <tommyw@google.com>
- Cc: Justin Uberti <juberti@google.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>, Victoria Kirst <vrk@google.com>
Le vendredi 07 juin 2013 à 16:04 +0200, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) a écrit : > interface MediaStreamTrack { > ... > static void getSources(MediaStreamTrackSourcesCallback callback); > ... > }; Sounds good > callback interface MediaStreamTrackSourcesCallback { > boolean handleEvent(MediaStreamTrackSourcesResponse response); > }; > [ > NoInterfaceObject > ] interface MediaStreamTrackSourcesResponse { > sequence<SourceInfo> sources(); > }; That can be simplified in callback MediaStreamTrackSourcesCallback = boolean (sequence<SourceInfo> sources); although I'm not sure what you want the boolean for — shouldn't that be void instead? Dom
Received on Saturday, 8 June 2013 01:15:02 UTC