CallControl.AnswerRequested 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 the device receives a request to answer a call.
public:
virtual event CallControlEventHandler ^ AnswerRequested;
// Register
event_token AnswerRequested(CallControlEventHandler const& handler) const;
// Revoke with event_token
void AnswerRequested(event_token const* cookie) const;
// Revoke with event_revoker
CallControl::AnswerRequested_revoker AnswerRequested(auto_revoke_t, CallControlEventHandler const& handler) const;
public event CallControlEventHandler AnswerRequested;
function onAnswerRequested(eventArgs) { /* Your code */ }
callControl.addEventListener("answerrequested", onAnswerRequested);
callControl.removeEventListener("answerrequested", onAnswerRequested);
- or -
callControl.onanswerrequested = onAnswerRequested;
Public Custom Event AnswerRequested As CallControlEventHandler
Event Type
Remarks
This class provides access to events that can be monitored and used for modifying the behavior of your telephony-aware app. The following JavaScript code snippet shows how to add event listeners to the CallControl class, and then to respond to one of the events, AnswerRequested.