示例#1
0
        /// <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);
        }
示例#2
0
 /// <summary>
 /// スタートイベント発生
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnSpeechSessionStartedEvent(SpeechSessionStartedEventArgs e)
 {
     SpeechSessionStartedEvent?.Invoke(this, e);
 }