Compartilhar via


PhoneLineTransportDevice.InBandRingingEnabledChanged Evento

Definição

Um evento gerado quando o toque em banda habilita status é alterado.

// Register
event_token InBandRingingEnabledChanged(TypedEventHandler<PhoneLineTransportDevice, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
PhoneLineTransportDevice::InBandRingingEnabledChanged_revoker InBandRingingEnabledChanged(auto_revoke_t, TypedEventHandler<PhoneLineTransportDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<PhoneLineTransportDevice,object> InBandRingingEnabledChanged;
function onInBandRingingEnabledChanged(eventArgs) { /* Your code */ }
phoneLineTransportDevice.addEventListener("inbandringingenabledchanged", onInBandRingingEnabledChanged);
phoneLineTransportDevice.removeEventListener("inbandringingenabledchanged", onInBandRingingEnabledChanged);
- or -
phoneLineTransportDevice.oninbandringingenabledchanged = onInBandRingingEnabledChanged;
Public Custom Event InBandRingingEnabledChanged As TypedEventHandler(Of PhoneLineTransportDevice, Object) 

Tipo de evento

Requisitos do Windows

Família de dispositivos
Windows 10, version 2104 (introduzida na 10.0.20348.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduzida na v6.0)
Funcionalidades do aplicativo
phoneCall

Aplica-se a