How do I trigger a function with the voice command? I have added an external application which recognice my voice, but the function I have added in the box below dont seem to be triggered? What should I do next here?
Go to Solution.
There's a trick to this: to reference your function use "viewCtrl.myFunction()" (where "myFunction" is the name of your function) when triggering it from a voice command in a Hololens project.
If it still doesn't work, then try using the debugging tools in the Preview window to see if any errors are being generated when you click the button to simulate saying the target phrase.