Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01
Deprecated since version 0.0.0

SpeechRecognitionCallback

public interface SpeechRecognitionCallback

androidx.leanback.widget.SpeechRecognitionCallback


This interface was deprecated in API level 0.0.0.
Launching voice recognition activity is no longer supported. App should declare android.permission.RECORD_AUDIO in AndroidManifest file. See details in SearchSupportFragment.

Interface for receiving notification that speech recognition should be initiated.

Summary

Public methods

abstract void recognizeSpeech()

Method invoked when speech recognition should be initiated.

Public methods

recognizeSpeech

public abstract void recognizeSpeech ()

Method invoked when speech recognition should be initiated.