Share via


VoipPhoneCall.AnswerRequested Evento

Definição

Gerado quando o usuário atende a uma chamada de entrada.

// 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) 

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
phoneCallHistory phoneCallHistorySystem voipCall

Comentários

O sistema aciona o evento AnswerRequested para sinalizar ao aplicativo VoIP que a chamada foi aceita pelo sistema. Depois que o evento for acionado, seu aplicativo VoIP deverá chamar NotifyCallActive dentro de 5 segundos. Consulte VoipPhoneCall para obter mais detalhes.

Aplica-se a