我正在尝试在我的Android应用中实施应用操作和切片(以实现)。我正在使用 App Actions测试工具测试该功能,当我在该工具中单击运行时,该切片会立即加载,但该切片不适用于Voice命令。 是可用于使用语音命令启动slice的功能。我已经在游戏商店中发布了一个草稿,并使用了Android Studio和助手的相同帐户。
期望该切片将使用意图的语音命令启动
解决方案是的,它应该适用于大多数App Action,但是,您需要使用正确的短语进行测试。如果您可以通过,以及START和STOP练习App Action,因为它们应该可以可靠运行。
I am trying to implement app actions and slice (for fulfillment) in my android app. I am testing the feature with "App Actions Test Tool" and the slice loads up immediate when I hit "Run" in the tool but the Slice does not work with the Voice command. Is the feature available to launch slice using voice command. I already have a draft posted on play store and using the same account for Android studio and the assistant.
Expected that the slice would launch with the voice command of the intent
解决方案Yes, it should work for most App Actions, however, you will need to test with the correct phrase. Some App Actions may also not work correctly via voice at this time, if so you can file a bug here.
To test this out:
Review the test phrases under each built-in intent in the documentation here.
Configure or check your invocation name in the Studio Test Tool plugin:
Invoke the test phrase with your invocation name by speaking or by typing (typing can be easier for testing initially).
I recommend you try first with the Fit Actions sample app along with the START and STOP exercise App Actions as these should work reliably.
更多推荐
Android App Actions不适用于语音命令
发布评论