コード例 #1
0
        private void OnInAppSignalEventDetected(ConversationalAgentSession sender, ConversationalAgentSignalDetectedEventArgs args)
        {
            // KwsPerformanceLogger.kwsEventFireTime = DateTime.Now.Ticks;
            // this.kwsPerformanceLogger.LogSignalReceived("1", true, DateTime.Now.Ticks, startTime, endTime);
            this.logger.Log(LogMessageLevel.SignalDetection, $"'{sender.Signal.SignalName}' signal detected in session event handler");

            this.SignalDetected?.Invoke(this, DetectionOrigin.FromApplicationObject);
        }
コード例 #2
0
        private void OnInAppSignalEventDetected(ConversationalAgentSession sender, ConversationalAgentSignalDetectedEventArgs args)
        {
            this.logger.Log($"'{sender.Signal.SignalName}' signal detected in session event handler");

            this.SignalDetected?.Invoke(this, DetectionOrigin.FromApplicationObject);
        }