Appspotdemo.Mono.Droid.AppRTCDemoActivity.sendMessage C# (CSharp) Метод

sendMessage() приватный Метод

private sendMessage ( Org.Json.JSONObject json ) : void
json Org.Json.JSONObject
Результат void
        private void sendMessage(JSONObject json)
        {
            appRtcClient.sendMessage(json.ToString());
        }

Usage Example

Пример #1
0
 public void OnIceCandidate(IceCandidate candidate)
 {
     outerInstance.RunOnUiThread(() =>
     {
         JSONObject json = new JSONObject();
         jsonPut(json, "type", "candidate");
         jsonPut(json, "label", candidate.SdpMLineIndex);
         jsonPut(json, "id", candidate.SdpMid);
         jsonPut(json, "candidate", candidate.Sdp);
         outerInstance.sendMessage(json);
     });
 }
All Usage Examples Of Appspotdemo.Mono.Droid.AppRTCDemoActivity::sendMessage