AppBroadcastBackgroundService.BroadcastLanguageChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika nilai properti BroadcastLanguage berubah.
// 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)
Jenis Acara
TypedEventHandler<AppBroadcastBackgroundService,IInspectable>
Persyaratan Windows
Rangkaian perangkat |
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.16299.0)
|
API contract |
Windows.Media.Capture.AppBroadcastContract (diperkenalkan dalam v2.0)
|