Udostępnij za pośrednictwem


CallControl.AnswerRequested Event

Definition

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.

Applies to

See also