ConversationalAgentSession.SignalDetected 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.
// Register
event_token SignalDetected(TypedEventHandler<ConversationalAgentSession, ConversationalAgentSignalDetectedEventArgs const&> const& handler) const;
// Revoke with event_token
void SignalDetected(event_token const* cookie) const;
// Revoke with event_revoker
ConversationalAgentSession::SignalDetected_revoker SignalDetected(auto_revoke_t, TypedEventHandler<ConversationalAgentSession, ConversationalAgentSignalDetectedEventArgs const&> const& handler) const;
public event TypedEventHandler<ConversationalAgentSession,ConversationalAgentSignalDetectedEventArgs> SignalDetected;
function onSignalDetected(eventArgs) { /* Your code */ }
conversationalAgentSession.addEventListener("signaldetected", onSignalDetected);
conversationalAgentSession.removeEventListener("signaldetected", onSignalDetected);
- or -
conversationalAgentSession.onsignaldetected = onSignalDetected;
Public Custom Event SignalDetected As TypedEventHandler(Of ConversationalAgentSession, ConversationalAgentSignalDetectedEventArgs)
Event Type
Remarks
Examples of activation Signals can include a keyword utterance, Bluetooth transmission, system keyboard accelerator, in-app speech recognition, or other sounds (door slam, smoke detector).