Compartir a través de


AppBroadcastPreview.PreviewStateChanged Evento

Definición

Se produce cuando cambia el estado de la vista previa de difusión de la aplicación.

// Register
event_token PreviewStateChanged(TypedEventHandler<AppBroadcastPreview, AppBroadcastPreviewStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastPreview::PreviewStateChanged_revoker PreviewStateChanged(auto_revoke_t, TypedEventHandler<AppBroadcastPreview, AppBroadcastPreviewStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppBroadcastPreview,AppBroadcastPreviewStateChangedEventArgs> PreviewStateChanged;
function onPreviewStateChanged(eventArgs) { /* Your code */ }
appBroadcastPreview.addEventListener("previewstatechanged", onPreviewStateChanged);
appBroadcastPreview.removeEventListener("previewstatechanged", onPreviewStateChanged);
- or -
appBroadcastPreview.onpreviewstatechanged = onPreviewStateChanged;
Public Custom Event PreviewStateChanged As TypedEventHandler(Of AppBroadcastPreview, AppBroadcastPreviewStateChangedEventArgs) 

Tipo de evento

Requisitos de Windows

Características de aplicaciones
appBroadcast appBroadcastSettings

Se aplica a