共用方式為


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

適用於

另請參閱