다음을 통해 공유


VoipPhoneCall.EndRequested 이벤트

정의

중요

Windows.Phone.Networking.Voip 네임스페이스의 형식은 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다. 대신 Windows.ApplicationModel.Calls 네임스페이스에서 해당하는 형식을 사용합니다.

호출을 종료해야 한다는 것을 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 요구 사항

앱 기능
ID_CAP_VOIP [Windows Phone]

설명

이 이벤트가 발생한 후 애플리케이션은 5초 이내에 NotifyCallEnded를 호출해야 합니다.

적용 대상