다음을 통해 공유


AppBroadcastBackgroundService.BroadcastLanguageChanged 이벤트

정의

BroadcastLanguage 속성의 값이 변경되면 발생합니다.

// Register
event_token BroadcastLanguageChanged(TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastBackgroundService::BroadcastLanguageChanged_revoker BroadcastLanguageChanged(auto_revoke_t, TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppBroadcastBackgroundService,object> BroadcastLanguageChanged;
function onBroadcastLanguageChanged(eventArgs) { /* Your code */ }
appBroadcastBackgroundService.addEventListener("broadcastlanguagechanged", onBroadcastLanguageChanged);
appBroadcastBackgroundService.removeEventListener("broadcastlanguagechanged", onBroadcastLanguageChanged);
- or -
appBroadcastBackgroundService.onbroadcastlanguagechanged = onBroadcastLanguageChanged;
Public Custom Event BroadcastLanguageChanged As TypedEventHandler(Of AppBroadcastBackgroundService, Object) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Media.Capture.AppBroadcastContract (v2.0에서 도입되었습니다.)

적용 대상