You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/windows-voice-assistants-best-practices.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Voice assistants developed on Windows 10 must implement the user experience guid
30
30
31
31
Windows 10 infers an activation experience for the customer context based on the device context. The following summary table is a high-level overview of the different views available when the screen is on.
32
32
33
-
| View (Availability) | Device context | Customer goal when using voice activation | Appears when | Design needs |
|**In-app (19H1)**| Below lock, assistant has focus | Interact with the assistant app | Assistant processes the request in-app | Main in-app view listening experience |
36
36
|**Above lock (19H2)**| Above lock, unauthenticated | Interact with the assistant, but from a distance | System is locked and assistant requests activation | Full-screen visuals for far-field UI. Implement dismissal policies to not block unlock. |
@@ -76,6 +76,9 @@ When the assistant app has focus, the customer intent is clearly to interact wit
76
76
77
77
Available with 19H2, assistants built on Windows voice activation platform are available to answer above lock.
78
78
79
+
> [!NOTE]
80
+
> Due to an active issue, assistants that draw above lock UI must implement WindowService.CloseWindow() for all dismissals. This will result in app termination, but mitigates a technical issue and keeps the assistant in a clean state. Furthermore, to maintain clean state if an app is enabled for above lock voice activation, it must listen for lock state changes and WindowService.CloseWindow() when the device locks.
81
+
79
82
### Customer opt-in
80
83
81
84
Voice activation above lock is always disabled by default. Customers opt-in through the Windows settings>Privacy>Voice Activation. For details on monitoring and prompting for this setting, see the [above lock implementation guide](windows-voice-assistants-implement-above-lock#Detect-user-preference).
@@ -88,7 +91,7 @@ While notifications or other standard app lock-screen integration points remain
88
91
89
92
### Above lock experience following voice activation
90
93
91
-
When the screen is on, the assistant app is full screen with no title bar above the lock screen. Larger visuals and strong voice descriptions with strong VUI allow for cases where the customer is too far away to read UI or has their hands busy with another (non-PC) task.
94
+
When the screen is on, the assistant app is full screen with no title bar above the lock screen. Larger visuals and strong voice descriptions with strong voice-primary interface allow for cases where the customer is too far away to read UI or has their hands busy with another (non-PC) task.
92
95
93
96
When the screen remains off, the assistant app could play an earcon to indicate the assistant is activating and provide a voice-only experience.
94
97
@@ -153,6 +156,11 @@ The Contoso assistant has a home on the taskbar: their swirling, circular icon.
153
156
154
157

155
158
156
-
**Hand-off**. At any point, the assistant may handoff to its main app view to provide more information or answers or dialogue that require more screen real estate. Please refer [here](windows-voice-assistants-faq#My-app-is-showing-in-a-small-window-when-I-activate-it-by-voice.-How-can-I-transition-from-the-compact-view-to-a-full-application-window) for implementation details.
159
+
**Hand-off**. At any point, the assistant may handoff to its main app view to provide more information or answers or dialogue that require more screen real estate. Please refer to the [Transition from compact view to full view](windows-voice-assistants-implementation-guide#Transition-from-compact-view-to-full-view) section for implementation details.
160
+
161
+

162
+
163
+
## Next steps
157
164
158
-

165
+
> [!div class="nextstepaction"]
166
+
> [Learn about the process of voice activation](windows-voice-assistants-voice-activation.md)
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/windows-voice-assistants-faq.md
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,28 +15,23 @@ ms.author: travisw
15
15
16
16
# Frequently asked questions
17
17
18
-
## General
18
+
## How do I contact Microsoft for resources like Limited Access Feature tokens and keyword model files?
19
19
20
-
### How do I contact Microsoft for resources like Limited Access Feature tokens and 1st stage keyword model files?
21
20
22
21
23
-
## Implementation
24
-
25
-
### My app is showing in a small window when I activate it by voice. How can I transition from the compact view to a full application window?
22
+
## My app is showing in a small window when I activate it by voice. How can I transition from the compact view to a full application window?
26
23
27
24
When your application is first activated by voice, it is started in a compact view. Please read the [Design guidance for voice activation preview](windows-voice-assistants-best-practices#Design-guidance-for-voice-activation-preview) for guidance on the different views and transitions between them for voice assistants on Windows.
28
25
29
-
To make the transition from compact view to full app view, use the appView API TryEnterViewModeAsync:
30
-
31
-
var appView = ApplicationView.GetForCurrentView();
### Do I have to use Direct Line Speech for my Windows Conversational Agent?
31
+
##Why are voice assistant features on Windows only enabled for UWP applications?
37
32
38
-
The UWP Sample Application was developed using Direct Line Speech and the Speech Services SDK as a demonstration of how to use a dialog service with the Windows Conversational Agent capability. However, you can use any service for local and cloud keyword verification, speech-to-text conversion, bot dialog, and text-to-speech conversion. See how in the [UWP Sample Application docs]().
33
+
Given the privacy risks associated with features like voice activation, the features of the UWP platform are necessary allow the voice assistant features on Windows to be sufficiently secure.
39
34
40
-
## Design
35
+
## The UWP Voice Assistant Sample uses Direct Line Speech. Do I have to use Direct Line Speech for my voice assistant on Windows?
41
36
42
-
## Issues
37
+
The UWP Sample Application was developed using Direct Line Speech and the Speech Services SDK as a demonstration of how to use a dialog service with the Windows Conversational Agent capability. However, you can use any service for local and cloud keyword verification, speech-to-text conversion, bot dialog, and text-to-speech conversion.
0 commit comments