示例#1
0
 public void RemoveLinphoneListenner(ILinphoneListener linphneListenner)
 {
     try
     {
         lock (LinphoneListeners)
         {
             LinphoneListeners.Remove(linphneListenner);
         }
     }
     catch (Exception ex)
     {
         Log("error with listenner, Remove");
     }
 }
示例#2
0
 public void RemoveAllLinphoneListener()
 {
     try
     {
         lock (LinphoneListeners)
         {
             LinphoneListeners.Clear();
         }
     }
     catch (Exception ex)
     {
         Log("error with listenner, Remove All");
     }
 }
示例#3
0
 public void AddLinphoneListenner(ILinphoneListener linphneListenner)
 {
     try
     {
         lock (LinphoneListeners)
         {
             LinphoneListeners.Add(linphneListenner);
         }
     }
     catch (Exception ex)
     {
         Log("error with listenner, Add");
     }
 }