VoipPhoneCall.EndRequested イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
重要
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 を呼び出す必要があります。