VoipPhoneCall.EndRequested Событие

Определение

Вызывается для оповещения приложения VoIP о том, что вызов должен быть завершен.

// Register
event_token EndRequested(TypedEventHandler<VoipPhoneCall, CallStateChangeEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
VoipPhoneCall::EndRequested_revoker EndRequested(auto_revoke_t, TypedEventHandler<VoipPhoneCall, CallStateChangeEventArgs const&> const& handler) const;
public event TypedEventHandler<VoipPhoneCall,CallStateChangeEventArgs> EndRequested;
function onEndRequested(eventArgs) { /* Your code */ }
voipPhoneCall.addEventListener("endrequested", onEndRequested);
voipPhoneCall.removeEventListener("endrequested", onEndRequested);
- or -
voipPhoneCall.onendrequested = onEndRequested;
Public Custom Event EndRequested As TypedEventHandler(Of VoipPhoneCall, CallStateChangeEventArgs) 

Тип события

Требования к Windows

Возможности приложения
phoneCallHistory phoneCallHistorySystem voipCall

Комментарии

После возникновения этого события приложение должно вызвать NotifyCallEnded в течение 5 секунд.

Применяется к