void m_spokes_Attached(object sender, AttachedArgs e) { m_availableDevices.Clear(); m_attacheddevice = e.m_device; m_devicenotified = false; // new: device is not considered available to headtracking api // until inrange event! }
void m_spokes_Attached(object sender, AttachedArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "Headset attached: " + e.m_device.ProductName); if (m_lockSeconds == 0) { UpdateStatusLabel("Idle"); SetLockButtonEnabled(false); } }
static void spokes_Attached(object sender, AttachedArgs e) { Console.WriteLine("Attached, sending message to Client App via socket..."); if (socket == null) { Console.WriteLine("INFO: No client connected."); return; } socket.sendMsg("Attached," + e.m_device.ProductName + "," + e.m_device.ProductID); }
void m_spokes_Attached(object sender, AttachedArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ Plantronics Device \"" + e.m_device.ProductName + "\" was attached"); }
void m_spokes_Attached(object sender, AttachedArgs e) { OnPltEvent(new PltEventArgs(PltEventType.Attached, e.m_device.ProductName.ToString(), e.m_device.ProductId.ToString())); }