简体   繁体   English

如何在 Google 助理中获取我的设备的时区?

[英]How can I get the timezone my device in Google Assistant?

I want to get the timezone of my device in Google Assistant.我想在 Google 助理中获取我设备的时区。 I have created the Google Action added DialogFlow as a Fulfillment tool.我创建了 Google Action 添加的 DialogFlow 作为实现工具。 Before the start to talk with the user I want to say Good morning/Hello/Good night, but for this action I need to get the timezone/time of the device from Dialogflow or Google Console or something like this one.在开始与用户交谈之前,我想说早安/你好/晚安,但对于此操作,我需要从 Dialogflow 或 Google Console 或类似的东西获取设备的时区/时间。 For example, in Amazon Alexa, to get the time zone, you just need to send a request with deviceId like '/v2/devices/ {deviceId>/settings/System.timeZone'.例如,在 Amazon Alexa 中,要获取时区,您只需要发送一个带有 deviceId 的请求,例如“/v2/devices/{deviceId>/settings/System.timeZone”。 Is it possible to do the same as Amazon Alexa or something similar?是否可以像亚马逊 Alexa 或类似的东西一样做?

该平台不提供获取用户或给定设备时区的方法。

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

相关问题 我如何部署我的谷歌助手机器人以便每个人都可以使用它? - How do i deploy my google assistant bot so that everyone can use it? 如何从 Google Assistant 深度链接应用程序? - how can I deeplink an app from Google Assistant? 如何结束我对助手的自定义操作? - How do I end my custom action on assistant? 使用谷歌助手填写我的网站的表格 - form filling in my website using google assistant 在 DialogFlow 中检测 Google Assistant 的特定设备(带或不带屏幕) - Detect specific device (with or without screen) for Google Assistant in DialogFlow 如何将数据从 dialogflow(谷歌助手)传递到我手机上安装的 android 应用程序? - How to pass data from dialogflow(google assistant) to our android app installed in my mobile? 如何在 DialogFlow 中使用 Google Assistant 响应? - How to use Google Assistant responses in DialogFlow? 在每个语音输入 Google 助理(Dialogflow Google)的后端获取音频 - Get audio in backend of each voice input Google Assistant (Dialogflow Google) Google 助理 - askForPermission 从 Google 帐户获取用户电子邮件 - Google Assistant - askForPermission to get user email from google account 如何在谷歌助手中垂直显示建议筹码 - How to show suggestion chips vertically in google assistant
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM