OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface MediaController { | 7 interface MediaController default _MediaControllerFactoryProvider { |
| 8 |
| 9 MediaController(); |
8 | 10 |
9 final TimeRanges buffered; | 11 final TimeRanges buffered; |
10 | 12 |
11 num currentTime; | 13 num currentTime; |
12 | 14 |
13 num defaultPlaybackRate; | 15 num defaultPlaybackRate; |
14 | 16 |
15 final num duration; | 17 final num duration; |
16 | 18 |
17 bool muted; | 19 bool muted; |
(...skipping 11 matching lines...) Expand all Loading... |
29 void addEventListener(String type, EventListener listener, [bool useCapture]); | 31 void addEventListener(String type, EventListener listener, [bool useCapture]); |
30 | 32 |
31 bool dispatchEvent(Event evt); | 33 bool dispatchEvent(Event evt); |
32 | 34 |
33 void pause(); | 35 void pause(); |
34 | 36 |
35 void play(); | 37 void play(); |
36 | 38 |
37 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 39 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
38 } | 40 } |
OLD | NEW |