コード例 #1
0
 public AppModel()
 {
     AccountVisible = Visibility.Collapsed;
     SessionVisible = Visibility.Visible;
     CallVisible = Visibility.Collapsed;
     Account = new AccountModel();
     Session = new SessionModel();
 }
コード例 #2
0
 public void Connect(AccountModel account)
 {
     _session = String.IsNullOrEmpty(ID) ? TywiSession.Create(account.GetTywiAccount()) : TywiSession.ConnectTo(ID, account.GetTywiAccount());
     _session.SessionConnected += OnSessionConnect;
     InitialiseText();
     InitialiseMicrophone();
     InitialiseAudio();
     _session.Connect();
 }
コード例 #3
0
 public void Disconnect(AccountModel account)
 {
     _session.Disconnect();
 }