[英]Implemanting / Integrating google voice action / google assistant in my app
I have developed an app which shows users Facts, News, Jokes and all such interesting information in a very few word when they get bored. 我开发了一个应用程序,当用户感到无聊时,可以用很少的单词显示用户的事实,新闻,笑话和所有这些有趣的信息。
Now i want that if user ask like "OK Google i am bored" or "OK google tell/show me some interesting fact", if my app is installed on that device assistant should suggest my app to user and if user says yes assistant should open my app. 现在,我要的是,如果用户问“ OK Google,我感到无聊”或“ OK Google,告诉/告诉我一些有趣的事实”,如果我的应用安装在该设备助手上,则应向用户建议我的应用,如果用户说是,助手应打开我的应用程序。
I have seen google Voice Action documentation but it confused me. 我看过google语音操作文档,但它使我感到困惑。
It sounds like you want app actions , which are not yet in developer preview but were announced at I/O earlier this year. 听起来好像您想要应用程序操作 ,这些操作尚未在开发人员预览中,但已于今年早些时候在I / O上宣布。
You can get notified when App actions will be available. 当应用操作可用时,您会收到通知 。
From the Android Developers Documentation: 从Android开发者文档中:
With App Actions, your app can be recommended to users as a way to fulfill their needs - at the moment they need it the most.
借助“应用操作”,可以向用户推荐您的应用,以此满足他们的需求-目前是他们最需要的应用。 By registering your app to handle one or more user intents, users will be able to see and interact with your app across multiple Google and Android surfaces.
通过注册您的应用程序以处理一个或多个用户意图,用户将能够跨多个Google和Android界面查看您的应用程序并与之交互。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.