cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger function with voice command on Hololens?

SOLVED
Highlighted
Regular Member

Trigger function with voice command on Hololens?

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?

 

thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Trigger function with voice command on Hololens?

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.

1 REPLY 1

Re: Trigger function with voice command on Hololens?

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.