简体   繁体   English

用户通过“ Ok Google,让我在线”之类的声音请求后,如何在Google Assistant中显示我的“应用程序操作”?

[英]How to show my “app action” in google assistant, after user requesting by voice like “Ok Google, make me online”?

Am working on a android project, where user wants to change his status online/offline through voice command. 我正在开发一个Android项目,用户希望通过语音命令在线/离线更改其状态。 Whenever user says "Ok Google, make me online" 每当用户说“ Ok Google,让我在线”

1.My action should be routed to my application context from google assistant, there I can change user status online/offline, is it possible?. 1.我的操作应从Google助手路由到我的应用程序上下文,在那里我可以在线/离线更改用户状态,这可能吗?

If not possible, can I do like this. 如果不可能,我可以这样做吗?

2.Whenever user says "Ok Google, make me online" can google assistant show button with my application icon like this,(but that should be specific for my app) 2.只要用户说“ Ok Google,让我在线”,Google助手就会显示带有我的应用程序图标的按钮,如下所示(但该按钮应特定于我的应用程序)

在此处输入图片说明

If above is possible, from the google assistant, I can click on the button and route user to my app, there I can do my task. 如果可以,请在Google助手中单击该按钮,然后将用户路由到我的应用,然后在其中执行任务。

can you tell me how can I achieve this? 你能告诉我如何实现吗?

It seems you would want to achieve the described usecase using App Actions It not currently available for developer preview, but it will come soon. 似乎您想使用App Actions实现所描述的用例。它目前尚不能用于开发人员预览,但很快就会出现。

You may also want to see this Google IO 2018 Talk HERE describing the same flow you want to achieve. 您可能还希望在此处看到此Google IO 2018 Talk,其中描述了您想要实现的相同流程。

Hope it helps. 希望能帮助到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在我的应用中实施/集成Google语音操作/ Google助手 - Implemanting / Integrating google voice action / google assistant in my app 如何从OK Google之类的声音启动android应用 - How to launch an android app from the voice like OK Google 通过语音命令(例如Google助手)启动android应用 - Lanch android app from voice command like google assistant App Action 通过 App Action Tool Plugin 工作,但不能在 Google Assistant 屏幕中使用语音命令 - App Action working via App Action Tool Plugin but not with voice command in Google Assistant Screen 如何在我的应用程序中显示谷歌语音识别设置? - how to show up the google voice recognition settings in my app? 从我的应用程序向 Google 助理发送语音或文本命令(Hey Google) - Send Voice or Text Command From My App To Google Assistant (Hey Google) Google语音助手命令无法执行操作CREATE_NOTE - Google voice assistant command not working for action CREATE_NOTE 如何从 android 手机谷歌助手控制 Android 应用程序操作 - How to control Android app action from android phone google assistant 让Google智能助理在特定状态下打开我的应用 - Make Google Assistant open my app on a specific state 使用 Google Assistant 添加语音控制 - Adding voice control with Google Assistant
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM