PhoneCallManager.CallStateChanged イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
デバイスの基本的な呼び出し状態が変更されたときに発生します。
// Register
static event_token CallStateChanged(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void CallStateChanged(event_token const* cookie) const;
// Revoke with event_revoker
static PhoneCallManager::CallStateChanged_revoker CallStateChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> CallStateChanged;
function onCallStateChanged(eventArgs) { /* Your code */ }
Windows.ApplicationModel.Calls.PhoneCallManager.addEventListener("callstatechanged", onCallStateChanged);
Windows.ApplicationModel.Calls.PhoneCallManager.removeEventListener("callstatechanged", onCallStateChanged);
- or -
Windows.ApplicationModel.Calls.PhoneCallManager.oncallstatechanged = onCallStateChanged;
Public Shared Custom Event CallStateChanged As EventHandler(Of Object)
イベントの種類
Windows の要件
| 要件 | 説明 |
|---|---|
| アプリの機能 |
phoneCallHistory
phoneCallHistorySystem
|