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]

注解

引发此事件后,应用程序必须在 5 秒内调用 NotifyCallActive

适用于