ConversationalAgentSession.SystemStateChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when either the system or the user changes a setting that restricts the ability of the digital assistant to perform one or more actions.
// Register
event_token SystemStateChanged(TypedEventHandler<ConversationalAgentSession, ConversationalAgentSystemStateChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void SystemStateChanged(event_token const* cookie) const;
// Revoke with event_revoker
ConversationalAgentSession::SystemStateChanged_revoker SystemStateChanged(auto_revoke_t, TypedEventHandler<ConversationalAgentSession, ConversationalAgentSystemStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ConversationalAgentSession,ConversationalAgentSystemStateChangedEventArgs> SystemStateChanged;
function onSystemStateChanged(eventArgs) { /* Your code */ }
conversationalAgentSession.addEventListener("systemstatechanged", onSystemStateChanged);
conversationalAgentSession.removeEventListener("systemstatechanged", onSystemStateChanged);
- or -
conversationalAgentSession.onsystemstatechanged = onSystemStateChanged;
Public Custom Event SystemStateChanged As TypedEventHandler(Of ConversationalAgentSession, ConversationalAgentSystemStateChangedEventArgs)
Event Type
Remarks
Typical triggers for this event include changes to policies on voice activation, privacy, screen/display, privacy, and Windows Conversational Agent platform capabilities.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for