예제 #1
0
            protected virtual void OnSessionDisconnect(DisconnectSessionEventArgs e)
            {
                EventHandler <DisconnectSessionEventArgs> handler = SessionDisconnect;

                if (handler != null)
                {
                    handler(this, e);
                }
            }
예제 #2
0
 public void OnSessionDisconnected(AudioSessionDisconnectReason DisconnectReason)
 {
     // System.Diagnostics.Debug.WriteLine("SESSION DISCONNECTED. EVENT CLIENT");
     if (SessionDisconnect != null)
     {
         DisconnectSessionEventArgs oDisConnectSessionEventArgs = new DisconnectSessionEventArgs(DisconnectReason);
         SessionDisconnect(this, oDisConnectSessionEventArgs);
     }
 }
예제 #3
0
 public void OnSessionDisconnect(object sender, DisconnectSessionEventArgs e)
 {
     Debug.WriteLine("SESSION DISCONNECTED: " + e.DisconnectReason);
     OnSessionDisconnect(e);
 }