From the course: Developing UWP Apps: 10 Voice, Speech, and Cortana
Unlock this course with a free trial
Join today to access over 22,500 courses taught by industry experts.
Cortana logic flow
From the course: Developing UWP Apps: 10 Voice, Speech, and Cortana
Cortana logic flow
- [Narrator] So, let's take a look at the basic Cortana logic flow. This is definitely an area that developers are a little bit unsure of how this process is handled. So, number one when we make a call to Cortana, Cortana checks to see if an app exists by the app name that we put in our command set definition. If that's not available, Cortana checks to see if the app exists by a command prefix that we put in our command definition. If not, then Cortana just processes out of the box commands. So if she doesn't understand anything, she may just go up and browse the web, for example. If she does find an instance of the app name or the command prefix, then she's going to go ahead and instantiate the app. And check to see if the app command set contains any verbiage that matches the voice command. If so, Cortana will then instantiate the app. And if available, Cortana will instantiate the app voice command service that's implemented as a background service. And then process app service…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Voice and speech concepts1m 2s
-
Common scenarios1m 31s
-
The speech recognizer1m 24s
-
Speech synthesis1m 14s
-
Integrating speech recognition3m 8s
-
Cortana concepts1m 9s
-
Cortana logic flow1m 26s
-
Cortana integration2m 20s
-
Integrating Cortana voice commands23m 23s
-
Personal assistant actions1m 13s
-
Advanced Cortana scenarios6m 12s
-
-