VoipPhoneCall.ResumeRequested Событие

Определение

Важно!

Типы в пространстве имен Windows.Phone.Networking.Voip являются устаревшими и могут быть недоступны в будущих версиях Windows. Вместо этого используйте эквивалентные типы в пространстве имен Windows.ApplicationModel.Calls .

Вызывается для указания того, что ранее выполненный вызов VoIP должен быть активен.

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

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

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

Тип события

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

Возможности приложения
ID_CAP_VOIP [Windows Phone]

Комментарии

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

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