Providing a Custom Speech Recognition UI
The listening, confirmation, and disambiguation screens provided by the SpeechRecognizerUI
may not suit your particular purposes and can be obtrusive under some circumstances. Fortunately, you can replace this GUI with your own by working directly with the SpeechRecognizer
object rather than the SpeechRecognizerUI
.
In this section you see how to assemble an interface that provides feedback to the user during speech recognition. The sample code for this section is located in the Speech/CustomUI directory of the WPUnleashed.Examples project in the downloadable sample code.
We begin by looking at how to retrieve a SpeechRecognizer
from a SpeechRecognizerUI
via its Recognizer
property, as shown in Listing ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.