Detecting whether Glassware was launched via voice command or the touch menu

前端 未结 2 726
无人共我
无人共我 2021-01-14 23:46

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 re

相关标签:
2条回答
  • 2021-01-15 00:27

    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!

    0 讨论(0)
  • 2021-01-15 00:50

    There is no published standard way. Perhaps you could explore the call stack on entry (e.g. look at what a stacktrace would produce for the different states?

    0 讨论(0)
提交回复
热议问题