PhoneLineTransportDevice.AudioRoutingStatusChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Evento generato quando il routing audio del dispositivo di trasporto sottostante cambia.
// Register
event_token AudioRoutingStatusChanged(TypedEventHandler<PhoneLineTransportDevice, IInspectable const&> const& handler) const;
// Revoke with event_token
void AudioRoutingStatusChanged(event_token const* cookie) const;
// Revoke with event_revoker
PhoneLineTransportDevice::AudioRoutingStatusChanged_revoker AudioRoutingStatusChanged(auto_revoke_t, TypedEventHandler<PhoneLineTransportDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<PhoneLineTransportDevice,object> AudioRoutingStatusChanged;
function onAudioRoutingStatusChanged(eventArgs) { /* Your code */ }
phoneLineTransportDevice.addEventListener("audioroutingstatuschanged", onAudioRoutingStatusChanged);
phoneLineTransportDevice.removeEventListener("audioroutingstatuschanged", onAudioRoutingStatusChanged);
- or -
phoneLineTransportDevice.onaudioroutingstatuschanged = onAudioRoutingStatusChanged;
Public Custom Event AudioRoutingStatusChanged As TypedEventHandler(Of PhoneLineTransportDevice, Object)
Tipo evento
TypedEventHandler<PhoneLineTransportDevice,IInspectable>
Requisiti Windows
Famiglia di dispositivi |
Windows 10, version 2104 (è stato introdotto in 10.0.20348.0)
|
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (è stato introdotto in v6.0)
|
Funzionalità dell'app |
phoneCall
|