Exemple #1
0
 public static void StartShareContent(string deviceHandle, IntPtr appWndHandle)
 {
     if (null != callManager.CurrentCall)
     {
         var errno = WrapperProxy.StartShareContent(callManager.CurrentCall.CallHandle, deviceHandle, appWndHandle);
         if (ErrorNumber.OK != errno)
         {
             throw new Exception("开始共享内容失败,errno=" + errno);
         }
     }
     else
     {
         throw new Exception("当前呼叫为空,不能共享内容");
     }
 }