/// <summary> /// Speech detected event handler /// </summary> /// <param name="sender"></param> /// <param name="eventArgs"></param> private void SpeechDetectedHandler(object sender, SpeechDetectedEventArgs eventArgs) { SpeechDetected msg = new SpeechDetected(); SpeechDetectedNotification notification = new SpeechDetectedNotification(); ReadKinectMicArrayInfo(notification); msg.Body = notification; SendNotification(subMgrPort, msg); }
/// <summary> /// Speech detected event handler /// </summary> /// <param name="sender"></param> /// <param name="eventArgs"></param> private void SpeechDetectedHandler(object sender, SpeechDetectedEventArgs eventArgs) { SpeechDetected msg = new SpeechDetected(); SpeechDetectedNotification notification = new SpeechDetectedNotification(); notification.StartTime = DateTime.Now; msg.Body = notification; SendNotification(_subMgrPort, msg); }
public IEnumerator <ITask> SpeechDetectedHandler(SpeechDetected detected) { PostActionNotSupported(detected); yield break; }
private void SpeechDetectedProxy(object sender, SpeechDetectedEventArgs e) { SpeechDetected?.Invoke(this, e); }