From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 17 十二月 2020 09:07:13 +0800 Subject: [PATCH] 新云端Ver1.3 --- ZigbeeApp/GateWay.Droid/FengLinVideo/Forms/ReverseCallFragment.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/GateWay.Droid/FengLinVideo/Forms/ReverseCallFragment.cs b/ZigbeeApp/GateWay.Droid/FengLinVideo/Forms/ReverseCallFragment.cs index 9031eaf..4d01cc3 100755 --- a/ZigbeeApp/GateWay.Droid/FengLinVideo/Forms/ReverseCallFragment.cs +++ b/ZigbeeApp/GateWay.Droid/FengLinVideo/Forms/ReverseCallFragment.cs @@ -52,7 +52,7 @@ mView = inflater.Inflate(Resource.Layout.fragment_call, container, false); IniView(); - + ReverseCall(param); return mView; } @@ -260,8 +260,17 @@ { if (v.Equals(rlCall)) { - //TimeStarts(); - ReverseCall(param); + //鎺ユ敹鏉ョ數 + if (mPhone != null) + { + if (mPhone.IsRinging) + { + string UserData = "user text"; + //娉ㄦ剰锛歊equestAudio 璇锋眰瀵规柟闊抽锛孯equestVideo璇锋眰瀵规柟瑙嗛 SendAudio鍙戦�佹湰鍦伴煶棰� SendVideo 鍙戦�佹湰鍦拌棰� 涓�鑸棬鍙d笉鎺ユ敹鍒拌棰戯紝鎵�浠ユ渶濂借缃�0锛屽噺灏戞祦閲忔秷鑰� + string param = string.Format("RequestAudio=1\r\n" + "RequestVideo=1\r\n" + "SendAudio=1\r\n" + "SendVideo=1r\n" + "UserData=%s\r\n", UserData); + mPhone.AcceptRing(param); + } + } rlCall.Visibility = ViewStates.Gone; } else if (v.Equals(rlHangup)) -- Gitblit v1.8.0