CallControl.AnswerRequested 事件

定义

当设备收到接听呼叫的请求时发生。

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 

事件类型

注解

此类提供对可监视的事件的访问,这些事件可用于修改电话感知应用的行为。 以下 JavaScript 代码片段演示如何将事件侦听器添加到 CallControl 类,然后响应其中一个事件 AnswerRequested

适用于

另请参阅