summaryrefslogtreecommitdiffstats
path: root/core/java/android/speech/IRecognitionService.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/speech/IRecognitionService.aidl')
-rw-r--r--core/java/android/speech/IRecognitionService.aidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/speech/IRecognitionService.aidl b/core/java/android/speech/IRecognitionService.aidl
index 36d12e9a..a18c380 100644
--- a/core/java/android/speech/IRecognitionService.aidl
+++ b/core/java/android/speech/IRecognitionService.aidl
@@ -18,6 +18,7 @@ package android.speech;
import android.content.Intent;
import android.speech.IRecognitionListener;
+import android.speech.RecognitionResult;
// A Service interface to speech recognition. Call startListening when
// you want to begin capturing audio; RecognitionService will automatically
@@ -29,6 +30,8 @@ interface IRecognitionService {
// see RecognizerIntent.java for constants used to specify the intent.
void startListening(in Intent recognizerIntent,
in IRecognitionListener listener);
+
+ List<RecognitionResult> getRecognitionResults(in long key);
void cancel();
}