이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.
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.