AppBroadcastBackgroundService.BroadcastChannelChanged Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Ocorre quando o valor da propriedade BroadcastChannel é alterado.
// Register
event_token BroadcastChannelChanged(TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;
// Revoke with event_token
void BroadcastChannelChanged(event_token const* cookie) const;
// Revoke with event_revoker
AppBroadcastBackgroundService::BroadcastChannelChanged_revoker BroadcastChannelChanged(auto_revoke_t, TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppBroadcastBackgroundService,object> BroadcastChannelChanged;
function onBroadcastChannelChanged(eventArgs) { /* Your code */ }
appBroadcastBackgroundService.addEventListener("broadcastchannelchanged", onBroadcastChannelChanged);
appBroadcastBackgroundService.removeEventListener("broadcastchannelchanged", onBroadcastChannelChanged);
- or -
appBroadcastBackgroundService.onbroadcastchannelchanged = onBroadcastChannelChanged;
Public Custom Event BroadcastChannelChanged As TypedEventHandler(Of AppBroadcastBackgroundService, Object)
Tipo de evento
TypedEventHandler<AppBroadcastBackgroundService,IInspectable>
Requisitos do Windows
Família de dispositivos |
Windows Desktop Extension SDK (introduzida na 10.0.16299.0)
|
API contract |
Windows.Media.Capture.AppBroadcastContract (introduzida na v2.0)
|