Android 11 开发者预览版现已推出;快来测试并分享您的反馈吧

SpeechRecognitionCallback

interface SpeechRecognitionCallback
androidx.leanback.widget.SpeechRecognitionCallback

Interface for receiving notification that speech recognition should be initiated.

Summary

Public methods

abstract Unit

Method invoked when speech recognition should be initiated.

Public methods

recognizeSpeech

abstract fun recognizeSpeech(): Unit

Method invoked when speech recognition should be initiated.