| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 interface MediaStream { | |
| 8 | |
| 9 static final int ENDED = 2; | |
| 10 | |
| 11 static final int LIVE = 1; | |
| 12 | |
| 13 String get label(); | |
| 14 | |
| 15 EventListener get onended(); | |
| 16 | |
| 17 void set onended(EventListener value); | |
| 18 | |
| 19 int get readyState(); | |
| 20 | |
| 21 MediaStreamTrackList get tracks(); | |
| 22 | |
| 23 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
| 24 | |
| 25 bool dispatchEvent(Event event); | |
| 26 | |
| 27 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
| 28 } | |
| OLD | NEW |