Code example for SpeechRecognizer

Methods: stopListening

0
    } 
 
    public void Stop() { 
        mIsListening = false;
        mRecognitonState = RecognizerState.Stop;
        mSpeechRecognizer.stopListening();
    } 
 
    public void addRecognizerFinishedCallback(RecognizerFinishedCallback callback) {
        mCallback = callback;
    } 
 
    public void onBeginningOfSpeech() { 
        if (DEBUG) Log.w(TAG, "onBeginningOfSpeech()");
        mRecognitionReady = false;
    } 
 
    public void onBufferReceived(byte[] buffer) {
        // Log.d(TAG,"onBufferReceived()"); 
    }