尝试 Hand-off 功能时收到 "Sorry, I didn't get any response." 消息

Getting "Sorry, I didn't get any response." message when I tried Hand-off feature

当我尝试多面对话时(从 Google 主页切换到 Android Google 助理),我得到 "Sorry, I didn't get any response." 我正在使用 Action SDK,语言环境是 "ja".

这是我的回复:

{
    "conversationToken": "(token)",
    "expectUserResponse": true,
    "isInSandbox": true,
    "expectedInputs": [
        {
            "possibleIntents": [
                {
                    "intent": "actions.intent.NEW_SURFACE",
                    "inputValueData": {
                        "@type": "type.googleapis.com/google.actions.v2.NewSurfaceValueSpec",
                        "context": "Sure, I have some sample images for you.",
                        "notificationTitle": "Sample Images",
                        "capabilities": [
                            "actions.capability.SCREEN_OUTPUT"
                        ]
                    }
                }
            ],
            "inputPrompt": {
                "richInitialPrompt": {
                    "items": {
                        "simpleResponse": {
                            "textToSpeech": "PLACEHOLDER_FOR_NEW_SURFACE"
                        }
                    }
                }
            }
        }
    ]
}

有人知道为什么吗?

它似乎只有英文版本,但我在任何文档中都找不到关于此的明确说明。

我用英语和法语尝试了完全相同的代码,它在英语中有效,在法语中无效。

事实证明这不是特定语言环境中的错误,但 askForNewSurface 目前仅支持英语语言环境。 这是我从 AoG 支持中得到的:

Hi Jan,

Thank you for your interest in Actions on Google. askForNewSurface is indeed only available for English locales. We are in the process of changing the documentation to reflect those restrictions. Sorry for the confusion. We do not have any set det for the release of this feature in other locales.

Kind Regards,

Jean-Charles, Actions on Google Support Team.