Cortana 技能:为什么 Cortana 不大声朗读我的提示?



我使用机器人框架SDK为Cortana创建了一个技能,它运行良好,我唯一的问题是Cortana没有大声朗读我的提示,这意味着用户需要自己阅读它们。到目前为止,我没有找到任何有关此的信息,有谁知道是否可以让Cortana阅读提示以及我需要做什么?

您必须再编写几行代码才能实现这一点!

Activity reply = activity.CreateReply("This is the text that Cortana displays.");
reply.Speak = "This is the text that Cortana will say.";

您可以在此处查看文档

最新更新