VoipPhoneCall.HoldRequested 事件

定义

引发以提醒 VoIP 应用应将呼叫置于保留状态。

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

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

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

事件类型

Windows 要求

应用功能
phoneCallHistory phoneCallHistorySystem voipCall

注解

引发此事件后,应用程序需要在 5 秒内调用 NotifyCallHeld

适用于