用户在 phone 上完成帐户链接后检索用户数据目录

Retrieving userdata directly after user completes acount linking on their phone

我正在使用 Actions On Google SDK 为 Google 家庭扬声器 使用 Accountlinking 构建应用程序。我正在使用 Oauth 功能,该功能允许用户通过向他们发送带有登录名 window.[=14= 的 link 来登录其 phone 上的帐户]

触发登录后,Google 扬声器上的对话结束。我想在用户完成帐户 linking.

后立即使用来自帐户 linking 过程的一些用户信息

当您在移动设备上为智能助理建立对话时,您可以等待 actions.intent.SIGN_IN 事件来继续对话,但即使您实现了这一点,对话演讲结束。

Is there any way to use user information directly after a user linked their account for a Google Home speaker app without users having to restart the conversation?

一旦用户必须跳转到 phone 以执行帐户链接,扬声器上的对话就会结束,因为上下文已转移设备。帐户链接完成后,您可以尝试 transfer to a new surface,尽管您不一定能够返回到原始设备。