AppBroadcastPreview.PreviewStateChanged 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 cambia lo stato dell'anteprima di trasmissione dell'app.
// 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 evento
Requisiti Windows
Funzionalità dell'app |
appBroadcast
appBroadcastSettings
|