【问题标题】:Alternative of stopListening() method of SpeechRecognizer class for Android API < 8Android API < 8 的 SpeechRecognizer 类的 stopListening() 方法的替代方案
【发布时间】:2019-08-11 06:18:51
【问题描述】:

API stopListening() 方法是否有任何替代方法,因为该方法包含在 API 级别 8 中?

【问题讨论】:

    标签: android speech-recognition speech-to-text android-api-levels


    【解决方案1】:

    SpeechRecognizer 类已添加到 API 8。因此,您不能在较低 API 设备中使用它。

    【讨论】:

    • 这不是已经在 OP 的问题中说明了吗?由于 API 在 API 8 之前不可用,因此他们正在寻找替代方案。
    • @MichaelDodd 他专门询问 stopListening()。
    • 迈克尔正确地指出了这一点。我正在为旧版本的 Android(或 API
    【解决方案2】:

    SpeechRecognizer 类本身是在 API 8 中添加的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-15
      • 2015-06-13
      • 2012-07-07
      • 2011-01-27
      • 1970-01-01
      相关资源
      最近更新 更多