summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/java/android/speech/IRecognitionService.aidl5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/speech/IRecognitionService.aidl b/core/java/android/speech/IRecognitionService.aidl
index 8f06976..36d12e9a 100644
--- a/core/java/android/speech/IRecognitionService.aidl
+++ b/core/java/android/speech/IRecognitionService.aidl
@@ -16,7 +16,7 @@
package android.speech;
-import android.os.Bundle;
+import android.content.Intent;
import android.speech.IRecognitionListener;
// A Service interface to speech recognition. Call startListening when
@@ -26,7 +26,8 @@ import android.speech.IRecognitionListener;
/** {@hide} */
interface IRecognitionService {
// Start listening for speech. Can only call this from one thread at once.
- void startListening(in Bundle recognitionParams,
+ // see RecognizerIntent.java for constants used to specify the intent.
+ void startListening(in Intent recognizerIntent,
in IRecognitionListener listener);
void cancel();