From 5aee5f8cc5b4640354170098c0e6e61ac70db56d Mon Sep 17 00:00:00 2001 From: "sangho.lee" Date: Wed, 10 Jul 2024 11:24:03 +0900 Subject: [PATCH] Add missing callback dispatch #2506 --- .../android/speechrecognizer/SpeechRecognizerAggregator.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nugu-android-helper/src/main/java/com/skt/nugu/sdk/platform/android/speechrecognizer/SpeechRecognizerAggregator.kt b/nugu-android-helper/src/main/java/com/skt/nugu/sdk/platform/android/speechrecognizer/SpeechRecognizerAggregator.kt index 87656d7cf..c247bd0af 100644 --- a/nugu-android-helper/src/main/java/com/skt/nugu/sdk/platform/android/speechrecognizer/SpeechRecognizerAggregator.kt +++ b/nugu-android-helper/src/main/java/com/skt/nugu/sdk/platform/android/speechrecognizer/SpeechRecognizerAggregator.kt @@ -429,6 +429,11 @@ class SpeechRecognizerAggregator( countDownLatch.countDown() callback?.onError(dialogRequestId, errorType) } + + override fun onCancellableRetrieved(cancelable: ASRAgentInterface.StartRecognitionCallback.Cancellable) { + Logger.d(TAG, "[executeStartListeningInternal] onCancellableRetrieved: $cancelable") + callback?.onCancellableRetrieved(cancelable) + } }, initiator, requestType @@ -525,4 +530,4 @@ class SpeechRecognizerAggregator( } override fun getState() = state -} \ No newline at end of file +}