Android Kotlin 文本转语音 定义TextToSpeech对象 private var tts: TextToSpeech? = null 对象初始化并设置监听 tts = TextToSpeech(this, TextToSpeech.OnInitListener { status: Int -> if (status === TextToSpeech.SUCCESS