Merge branch 'readonly-p4-donut' into donut
This commit is contained in:
committed by
The Android Open Source Project
commit
fedf566b9e
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package android.speech;
|
package android.speech;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.content.Intent;
|
||||||
import android.speech.IRecognitionListener;
|
import android.speech.IRecognitionListener;
|
||||||
|
|
||||||
// A Service interface to speech recognition. Call startListening when
|
// A Service interface to speech recognition. Call startListening when
|
||||||
@@ -26,7 +26,8 @@ import android.speech.IRecognitionListener;
|
|||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
interface IRecognitionService {
|
interface IRecognitionService {
|
||||||
// Start listening for speech. Can only call this from one thread at once.
|
// 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);
|
in IRecognitionListener listener);
|
||||||
|
|
||||||
void cancel();
|
void cancel();
|
||||||
|
|||||||
Reference in New Issue
Block a user