使Google Assistant在特定状态下打开我的应用 [英] Make Google Assistant open my app on a specific state

查看:200
本文介绍了使Google Assistant在特定状态下打开我的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将我的Android应用程序与Google助手集成。我已经进行了一些研究,并完成了一些教程,但是它们只为我带来文本,卡片或音频回复。我需要的是Google Assistant根据向Google Assistant询问的内容在特定状态下打开我的应用。

I am trying to integrate my android app with google assistant. I've already done some research and went through some tutorials, but they only bring me text, card, or audio responses. What I need is that the google assistant open my app on a specific state based on what it is asked to google assistant.

例如,我会问Google Assistant什么时候我最喜欢的球队的下一场比赛将会发生。然后,谷歌助手将打开我的应用程序,显示我最喜欢的球队接下来的比赛时间表。我认为可能可以通过网络挂钩做到这一点,但我不知道如何做到。有人可以帮我链接一些引用以帮助我吗?

For example, I will ask google assistant when will the next game of my favorite team happen. Then google assistant will open my app showing the schedule of the next games of my favorite team. I think it might be possible to do it with webhooks, but I don't know how. Can someone link me some references to help me?

预先感谢。

推荐答案

您将要注册应用操作开发人员预览,该预览将您可以从助手中打开应用中的意图。

You will want to sign up for the app actions developer preview, which will expose intents in your app to be opened from the Assistant.

这篇关于使Google Assistant在特定状态下打开我的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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