检测是否通过语音命令或触摸菜单启动了玻璃器皿 [英] Detecting whether Glassware was launched via voice command or the touch menu

查看:46
本文介绍了检测是否通过语音命令或触摸菜单启动了玻璃器皿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过"OK Glass"语音命令与触摸菜单选择启动玻璃器皿时,可能会有不同的行为吗? 具体来说,如果玻璃器皿是通过"OK Glass"语音命令启动的,我们将尝试提示语音识别,否则,如果通过触摸菜单启动玻璃器皿,则直接进入玻璃器皿. 或者,是否有一种方法可以让应用知道启动该应用的方式? 我们正在尝试模仿Google Play音乐玻璃器皿的功能.

Is it possible to have different behaviors when a glassware is launched via "OK Glass" voice command vs touch menu selection? Specifically we are trying to prompt voice recognition if the glassware is launched with "OK Glass" voice command, otherwise go direct to the glassware if it is launched from the touch menu. Or, is there a way for an app to know in which way it was launched? We are trying to emulate what Google Play Music Glassware does.

推荐答案

GDK尚未提供执行此操作的方法.如果您希望添加此功能,请在我们的问题跟踪器

The GDK does not yet provide a way to do this. If you would like to see this feature added, please file an enhancement request in our issue tracker!

这篇关于检测是否通过语音命令或触摸菜单启动了玻璃器皿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆