Ejemplo n.º 1
0
 private void HeadsetConnectedOK(object sender, string headsetId)
 {
     //Console.WriteLine("HeadsetConnectedOK " + headsetId);
     // Wait a moment before creating session
     System.Threading.Thread.Sleep(1500);
     // CreateSession
     _sessionCreator.Create(_cortexToken, headsetId, _isActiveSession);
 }
Ejemplo n.º 2
0
 private void HeadsetConnectedOK(object sender, string headsetId)
 {
     //Console.WriteLine("HeadsetConnectedOK " + headsetId);
     _headsetId = headsetId;
     System.Threading.Thread.Sleep(1500); // wait a moment before creating session to make sure headset ready.
     // CreateSession
     _sessionCreator.Create(_cortexToken, headsetId);
 }