[英]Google Assistant Custom Commands | Hey Google, Open My App's page
I want to open my android app's specific page with voice control in google assistant. 我想用Google Assistant中的语音控制打开我的android应用程序的特定页面。
I read some article "app actions" can help when it released. 我阅读了一些文章“应用程序操作” ,该文章发布后会有所帮助。
But Vodafone has already doing this feature. 但是沃达丰已经做到了这一功能。
In google assistant I can tell: 在谷歌助手,我可以告诉:
For example: 例如:
++ Hey Google, Open Vodafone my invoice ++嗨,谷歌,打开我的发票沃达丰
-- Vodafone's mobile app is opened and direct related pages. -沃达丰的移动应用程序已打开,并直接打开相关页面。
I want to do it for my custom application . 我想为我的自定义应用程序执行此操作 。 Hey Google, Open My Wonderful app and Book a hotel reservation and it will open my wonderful app's hotel reservation page
嘿Google,打开“我的精彩”应用程序并预订酒店预订,它将打开我的精彩应用程序的酒店预订页面
Is that restricted for us? 这对我们有限制吗? Or can we do it programatically or non-programatically ..
还是我们可以通过编程方式或非编程方式来实现..
I saw it just indicated commands is avaible. 我看到它只是表明命令可用。 For example set alarm I will say to assistant and Mobile app will suggest me to related app.
例如设置警报,我将对助手说,移动应用程序将向相关应用程序建议我。 I don't want to do this.
我不想这么做 I want to create custom commands for my mobile application.
我想为我的移动应用程序创建自定义命令。
At Google I/O 2019, some updates were posted about App Actions: 在Google I / O 2019上,发布了有关App Actions的一些更新:
This kind of integration will be possible using these updates via the " Open app feature " action. 通过“ 打开应用程序功能 ”操作使用这些更新,可以进行这种集成。 For example "Hey Google, open history on my app " could let you open the history screen in "my app".
例如,“嘿Google,在我的应用程序中打开历史记录 ”可以让您在“我的应用程序”中打开历史记录屏幕。 That said, for specific use-cases, like travel booking, it's best to wait for the built-in Assistant intents to be supported for the travel vertical which will allow more powerful integrations such as "Hey Google, book a hotel in Paris on May 8 with my hotel app ".
也就是说,对于特定的用例,例如旅行预订,最好等待内置的助手意图支持垂直旅行,这将允许更强大的集成,例如“嗨,谷歌,五月在巴黎预订酒店8与我的酒店应用程序 “。
Note that as of Google I/O 2019, App Actions is available for developers to start building but not available to end-users yet. 请注意,自Google I / O 2019起,开发人员可以使用App Actions开始构建,但最终用户还无法使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.