am fedf566: Merge branch \'readonly-p4-donut\' into donut

Merge commit 'fedf566b9e00f18588fc104caafd047af069844a'

* commit 'fedf566b9e00f18588fc104caafd047af069844a':
  AI 148484: (1) Pass recognizer intent to RecognitionService when starting to listen.
This commit is contained in:
Brandon Ballinger
2009-05-07 14:30:13 -07:00
committed by The Android Open Source Project

View File

@@ -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();