Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.41 KB

conversationalagentsession_requestinterruptibleasync_1030348212.md

File metadata and controls

35 lines (21 loc) · 1.41 KB
-api-id -api-type ms.custom
M:Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSession.RequestInterruptibleAsync(System.Boolean)
winrt method
19H1

Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSession.RequestInterruptibleAsync

-description

Asynchronously requests that this ConversationalAgentSession be interruptible if the keyword for another digital assistant is detected.

-parameters

-param interruptible

True, if interruptible; otherwise, false.

-returns

The result of the asynchronous operation as a ConversationalAgentSessionUpdateResponse.

-remarks

Some digital assistant sessions cannot be interrupted by another signal. For example, Cortana requires the user to issue a cancel or stop command to end the current session (the user cannot be in a Cortana session and issue commands to Alexa).

If a session can be interrupted, the Windows Conversational Agent platform raises the SessionInterrupted event to indicate that the digital assistant app should set itself to inactive and stop processing input.

-see-also

-examples