AppBroadcastBackgroundService.BroadcastLanguageChanged 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.
Si verifica quando viene modificato il valore della proprietà 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)
Tipo evento
TypedEventHandler<AppBroadcastBackgroundService,IInspectable>
Requisiti Windows
Famiglia di dispositivi |
Windows Desktop Extension SDK (è stato introdotto in 10.0.16299.0)
|
API contract |
Windows.Media.Capture.AppBroadcastContract (è stato introdotto in v2.0)
|