void OnPlantronicsDeviceAttached(object sender, AttachedArgs e) { if (_settingsManager.DeviceConnectNotification) { _addinNotificationService.Notify("Plantronics device attached", "Headset", NotificationType.Info, TimeSpan.FromSeconds(2)); } }
private void OnPlantronicsDeviceAttached(object sender, AttachedArgs e) { if (_settingsManager.DeviceConnectChangeStatus) { _cicStatusService.SetStatus(_settingsManager.DeviceConnectStatusKey); } }
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); }
// Device attach/detach: ************************************************************ private void OnAttached(AttachedArgs e) { if (Attached != null) Attached(this, e); }
void _spokes_Attached(object sender, AttachedArgs e) { }
void m_spokes_Attached(object sender, AttachedArgs e) { OnPltEvent(new PltEventArgs(PltEventType.Attached, e.m_device.ProductName.ToString(), e.m_device.ProductId.ToString())); }
void spokes_DeviceAttached(object sender, AttachedArgs e) { LogMessage(MethodInfo.GetCurrentMethod().Name, ">>> Device was attached: " + e.m_device.ProductName); UpdateDeviceStatusGUIItem(deviceStatusLabel, e.m_device.ProductName); m_productname = e.m_device.ProductName; AnimateBackgroundColor(deviceStatusLabel, Color.FromArgb(0, 51, 102)); if (IsDA45()) UpdateDeviceStatusGUIItem(proximityStateLbl, "In Range"); // TODO for now assume in range on attach of DA45, no way to query initial state else UpdateDeviceStatusGUIItem(proximityStateLbl, "Unknown"); }
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); } }
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())); m_previousAudioSensing = m_spokes.GetAudioSensing(); m_spokes.SetAudioSensing(false); }
private void OnDeviceAttached(object sender, AttachedArgs e) { Debug.WriteLine("OnDeviceAttached "); _traceContext.Status("OnDeviceAttached "); ; InternalName = e.m_device.InternalName; ManufacturerName = e.m_device.ManufacturerName; ProductName = e.m_device.ProductName; SerialNumber = e.m_device.SerialNumber; VersionNumber = e.m_device.VersionNumber; if (PlantronicsDeviceAttached != null) { PlantronicsDeviceAttached(this, e); } }