Start() публичный Метод

public Start ( VideoChat videoChat, Action callback ) : void
videoChat VideoChat
callback Action
Результат void
Пример #1
0
 public void StartLocalMedia(MainPage videoWindow, Action <Exception> callback)
 {
     if (localMedia == null)
     {
         localMedia = new LocalMedia();
         localMedia.Start(videoWindow, callback);
     }
     else
     {
         callback(new Exception(string.Format("Error starting local media. {0}", localMedia.LastStartException.Message)));
     }
 }
Пример #2
0
 public void StartLocalMedia(VideoChat videoChat, Action<string> callback)
 {
     LocalMedia = new LocalMedia();
     LocalMedia.Start(videoChat, callback);
 }
Пример #3
0
 public void StartLocalMedia(VideoChat videoChat, Action <string> callback)
 {
     LocalMedia = new LocalMedia();
     LocalMedia.Start(videoChat, callback);
 }
Пример #4
0
 public void StartLocalMedia(MainPage videoWindow, Action<Exception> callback)
 {
     if (localMedia == null)
     {
         localMedia = new LocalMedia();
         localMedia.Start(videoWindow, callback);
     }
     else
     {
         callback(new Exception(string.Format("Error starting local media. {0}", localMedia.LastStartException.Message)));
     }
 }