added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Deprecated since version 27.1.0

SpeechRecognitionCallback

public interface SpeechRecognitionCallback

android.support.v17.leanback.widget.SpeechRecognitionCallback


This interface was deprecated in API level 27.1.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

added in version 22.1.0
void recognizeSpeech ()

Method invoked when speech recognition should be initiated.