Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

SpeechRecognitionCallback

public interface SpeechRecognitionCallback

androidx.leanback.widget.SpeechRecognitionCallback


This interface is deprecated.
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.