我有 VoiceCommand
几乎就像这个例子一样:
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.0">
<CommandSet xml:lang="en-US">
<CommandPrefix>Contoso Rodeo</CommandPrefix>
<Example> play a new game </Example>
<Command Name="PlayUnknownLevel">
<Example> replay level two </Example>
<ListenFor> [and] replay level {*} </ListenFor>
<Feedback> Unknown level; going to level selection... </Feedback>
<Navigate Target="LevelSelect.xaml" />
</Command>
...
</CommandSet>
</VoiceCommands>
当 VoiceCommand
被识别时,我需要调用一些方法
问题是:VoiceCommand
能否导致方法调用而不是导航?
我是一名优秀的程序员,十分优秀!