다음을 통해 공유


PhoneLineTransportDevice.AudioRoutingStatusChanged 이벤트

정의

기본 전송 디바이스의 오디오 라우팅이 변경될 때 발생하는 이벤트입니다.

// 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) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows 10, version 2104 (10.0.20348.0에서 도입되었습니다.)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (v6.0에서 도입되었습니다.)
앱 기능
phoneCall

적용 대상