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 class _PeerConnectionWrappingImplementation extends DOMWrapperBase implements Pe
erConnection { |
| 8 _PeerConnectionWrappingImplementation() : super() {} |
| 9 |
| 10 static create__PeerConnectionWrappingImplementation() native { |
| 11 return new _PeerConnectionWrappingImplementation(); |
| 12 } |
| 13 |
| 14 MediaStreamList get localStreams() { return _get_localStreams(this); } |
| 15 static MediaStreamList _get_localStreams(var _this) native; |
| 16 |
| 17 EventListener get onaddstream() { return _get_onaddstream(this); } |
| 18 static EventListener _get_onaddstream(var _this) native; |
| 19 |
| 20 void set onaddstream(EventListener value) { _set_onaddstream(this, value); } |
| 21 static void _set_onaddstream(var _this, EventListener value) native; |
| 22 |
| 23 EventListener get onconnecting() { return _get_onconnecting(this); } |
| 24 static EventListener _get_onconnecting(var _this) native; |
| 25 |
| 26 void set onconnecting(EventListener value) { _set_onconnecting(this, value); } |
| 27 static void _set_onconnecting(var _this, EventListener value) native; |
| 28 |
| 29 EventListener get onmessage() { return _get_onmessage(this); } |
| 30 static EventListener _get_onmessage(var _this) native; |
| 31 |
| 32 void set onmessage(EventListener value) { _set_onmessage(this, value); } |
| 33 static void _set_onmessage(var _this, EventListener value) native; |
| 34 |
| 35 EventListener get onopen() { return _get_onopen(this); } |
| 36 static EventListener _get_onopen(var _this) native; |
| 37 |
| 38 void set onopen(EventListener value) { _set_onopen(this, value); } |
| 39 static void _set_onopen(var _this, EventListener value) native; |
| 40 |
| 41 EventListener get onremovestream() { return _get_onremovestream(this); } |
| 42 static EventListener _get_onremovestream(var _this) native; |
| 43 |
| 44 void set onremovestream(EventListener value) { _set_onremovestream(this, value
); } |
| 45 static void _set_onremovestream(var _this, EventListener value) native; |
| 46 |
| 47 int get readyState() { return _get_readyState(this); } |
| 48 static int _get_readyState(var _this) native; |
| 49 |
| 50 MediaStreamList get remoteStreams() { return _get_remoteStreams(this); } |
| 51 static MediaStreamList _get_remoteStreams(var _this) native; |
| 52 |
| 53 void addEventListener(String type, EventListener listener, bool useCapture) { |
| 54 _addEventListener(this, type, listener, useCapture); |
| 55 return; |
| 56 } |
| 57 static void _addEventListener(receiver, type, listener, useCapture) native; |
| 58 |
| 59 void addStream(MediaStream stream) { |
| 60 _addStream(this, stream); |
| 61 return; |
| 62 } |
| 63 static void _addStream(receiver, stream) native; |
| 64 |
| 65 void close() { |
| 66 _close(this); |
| 67 return; |
| 68 } |
| 69 static void _close(receiver) native; |
| 70 |
| 71 bool dispatchEvent(Event event) { |
| 72 return _dispatchEvent(this, event); |
| 73 } |
| 74 static bool _dispatchEvent(receiver, event) native; |
| 75 |
| 76 void processSignalingMessage(String message) { |
| 77 _processSignalingMessage(this, message); |
| 78 return; |
| 79 } |
| 80 static void _processSignalingMessage(receiver, message) native; |
| 81 |
| 82 void removeEventListener(String type, EventListener listener, bool useCapture)
{ |
| 83 _removeEventListener(this, type, listener, useCapture); |
| 84 return; |
| 85 } |
| 86 static void _removeEventListener(receiver, type, listener, useCapture) native; |
| 87 |
| 88 void removeStream(MediaStream stream) { |
| 89 _removeStream(this, stream); |
| 90 return; |
| 91 } |
| 92 static void _removeStream(receiver, stream) native; |
| 93 |
| 94 void send(String text) { |
| 95 _send(this, text); |
| 96 return; |
| 97 } |
| 98 static void _send(receiver, text) native; |
| 99 |
| 100 String get typeName() { return "PeerConnection"; } |
| 101 } |
OLD | NEW |