diff options
| author | Brandon Ballinger <nobody@android.com> | 2009-05-07 14:24:02 -0700 | 
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-05-07 14:24:02 -0700 | 
| commit | cdd0ac6d85f5530dc88e73b0b51f44708c804b55 (patch) | |
| tree | 6e4ce5355c52ac21bf771bba7a5de7b574d33469 /core | |
| parent | e96440fa15b9158690996dd1e5ef2096099d5388 (diff) | |
| download | frameworks_base-cdd0ac6d85f5530dc88e73b0b51f44708c804b55.zip frameworks_base-cdd0ac6d85f5530dc88e73b0b51f44708c804b55.tar.gz frameworks_base-cdd0ac6d85f5530dc88e73b0b51f44708c804b55.tar.bz2 | |
AI 148484: (1) Pass recognizer intent to RecognitionService when starting to listen.
  (2) Return error strings to client rather than error types.
Automated import of CL 148484
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/speech/IRecognitionService.aidl | 5 | 
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(); | 
