Alexa - 通过 canFulfillntentRequest,我可以在不询问技能名称的情况下启动自定义意图吗?
Alexa - By canFulfillntentRequest, Can I launch custom intent without asking the name of skill?
通过实施 "canFulfillIntentRequest",我可以在播放音频时不询问技能名称而启动我的自定义 Intent 吗?喜欢而不是说:
"Alexa, ask <inovation name> to get me the latest on China"
我能说吗?
"Alexa, get me the latest on China"
任何帮助将不胜感激。
如果技能被调用并且已经在播放音频那么它取决于变量shouldEndSession
。如果 shouldEndSession
变量设置为 True
,则在播放音频文件时 NO,否则 YES。您可以在音频文件的末尾询问用户是否想听更多或其他内容。
而且如果不调用技能,那就不行了。
通过实施 "canFulfillIntentRequest",我可以在播放音频时不询问技能名称而启动我的自定义 Intent 吗?喜欢而不是说:
"Alexa, ask <inovation name> to get me the latest on China"
我能说吗?
"Alexa, get me the latest on China"
任何帮助将不胜感激。
如果技能被调用并且已经在播放音频那么它取决于变量shouldEndSession
。如果 shouldEndSession
变量设置为 True
,则在播放音频文件时 NO,否则 YES。您可以在音频文件的末尾询问用户是否想听更多或其他内容。
而且如果不调用技能,那就不行了。