/// <summary> /// Session started event handler. /// </summary> private void SessionStartedEventHandler(SessionEventArgs e, RecoType rt) { SpeechSessionStartedEventArgs eventArgs = new SpeechSessionStartedEventArgs(); eventArgs.Message = "Speech recognition: Session started event: " + e.ToString() + "."; OnSpeechSessionStartedEvent(eventArgs); }
/// <summary> /// スタートイベント発生 /// </summary> /// <param name="e"></param> protected virtual void OnSpeechSessionStartedEvent(SpeechSessionStartedEventArgs e) { SpeechSessionStartedEvent?.Invoke(this, e); }