OLD | NEW |
1 | 1 |
2 class MediaControllerJs extends DOMTypeJs implements MediaController native "*Me
diaController" { | 2 class _MediaControllerJs extends _DOMTypeJs implements MediaController native "*
MediaController" { |
3 | 3 |
4 TimeRangesJs get buffered() native "return this.buffered;"; | 4 _TimeRangesJs get buffered() native "return this.buffered;"; |
5 | 5 |
6 num get currentTime() native "return this.currentTime;"; | 6 num get currentTime() native "return this.currentTime;"; |
7 | 7 |
8 void set currentTime(num value) native "this.currentTime = value;"; | 8 void set currentTime(num value) native "this.currentTime = value;"; |
9 | 9 |
10 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;"; | 10 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;"; |
11 | 11 |
12 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val
ue;"; | 12 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val
ue;"; |
13 | 13 |
14 num get duration() native "return this.duration;"; | 14 num get duration() native "return this.duration;"; |
15 | 15 |
16 bool get muted() native "return this.muted;"; | 16 bool get muted() native "return this.muted;"; |
17 | 17 |
18 void set muted(bool value) native "this.muted = value;"; | 18 void set muted(bool value) native "this.muted = value;"; |
19 | 19 |
20 bool get paused() native "return this.paused;"; | 20 bool get paused() native "return this.paused;"; |
21 | 21 |
22 num get playbackRate() native "return this.playbackRate;"; | 22 num get playbackRate() native "return this.playbackRate;"; |
23 | 23 |
24 void set playbackRate(num value) native "this.playbackRate = value;"; | 24 void set playbackRate(num value) native "this.playbackRate = value;"; |
25 | 25 |
26 TimeRangesJs get played() native "return this.played;"; | 26 _TimeRangesJs get played() native "return this.played;"; |
27 | 27 |
28 TimeRangesJs get seekable() native "return this.seekable;"; | 28 _TimeRangesJs get seekable() native "return this.seekable;"; |
29 | 29 |
30 num get volume() native "return this.volume;"; | 30 num get volume() native "return this.volume;"; |
31 | 31 |
32 void set volume(num value) native "this.volume = value;"; | 32 void set volume(num value) native "this.volume = value;"; |
33 | 33 |
34 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 34 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
35 | 35 |
36 bool dispatchEvent(EventJs evt) native; | 36 bool dispatchEvent(_EventJs evt) native; |
37 | 37 |
38 void pause() native; | 38 void pause() native; |
39 | 39 |
40 void play() native; | 40 void play() native; |
41 | 41 |
42 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 42 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
43 } | 43 } |
OLD | NEW |