Jaa


ConversationalAgentSession.SystemStateChanged Event

Definition

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