VoipPhoneCall.AnswerRequested イベント

定義

ユーザーが着信通話に応答したときに発生します。

// Register
event_token AnswerRequested(TypedEventHandler<VoipPhoneCall, CallAnswerEventArgs const&> const& handler) const;

// Revoke with event_token
void AnswerRequested(event_token const* cookie) const;

// Revoke with event_revoker
VoipPhoneCall::AnswerRequested_revoker AnswerRequested(auto_revoke_t, TypedEventHandler<VoipPhoneCall, CallAnswerEventArgs const&> const& handler) const;
public event TypedEventHandler<VoipPhoneCall,CallAnswerEventArgs> AnswerRequested;
function onAnswerRequested(eventArgs) { /* Your code */ }
voipPhoneCall.addEventListener("answerrequested", onAnswerRequested);
voipPhoneCall.removeEventListener("answerrequested", onAnswerRequested);
- or -
voipPhoneCall.onanswerrequested = onAnswerRequested;
Public Custom Event AnswerRequested As TypedEventHandler(Of VoipPhoneCall, CallAnswerEventArgs) 

イベントの種類

Windows の要件

アプリの機能
phoneCallHistory phoneCallHistorySystem voipCall

注釈

システムは AnswerRequested イベントを発生させて、呼び出しがシステムによって受け入れられたことを VoIP アプリケーションに通知します。 イベントが発生した後、VoIP アプリケーションは 5 秒以内 に NotifyCallActive を呼び出す必要があります。 詳細については、「 VoipPhoneCall 」を参照してください。

適用対象