Appspotdemo.Mono.Droid.AppRTCDemoActivity.PCObserver.OnDataChannel C# (CSharp) Method

OnDataChannel() public method

public OnDataChannel ( Org.Webrtc.DataChannel dc ) : void
dc Org.Webrtc.DataChannel
return void
            public void OnDataChannel(DataChannel dc)
            {
                outerInstance.RunOnUiThread(() =>
                    {
                        throw new Exception("AppRTC doesn't use data channels, but got: " + dc.Label() + " anyway!");
                    });
            }