Partager via


AppBroadcastBackgroundServiceStreamInfo.StreamStateChanged Événement

Définition

Se produit lorsque l’état du flux de diffusion de l’application change.

// Register
event_token StreamStateChanged(TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo, AppBroadcastStreamStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastBackgroundServiceStreamInfo::StreamStateChanged_revoker StreamStateChanged(auto_revoke_t, TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo, AppBroadcastStreamStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo,AppBroadcastStreamStateChangedEventArgs> StreamStateChanged;
function onStreamStateChanged(eventArgs) { /* Your code */ }
appBroadcastBackgroundServiceStreamInfo.addEventListener("streamstatechanged", onStreamStateChanged);
appBroadcastBackgroundServiceStreamInfo.removeEventListener("streamstatechanged", onStreamStateChanged);
- or -
appBroadcastBackgroundServiceStreamInfo.onstreamstatechanged = onStreamStateChanged;
Public Custom Event StreamStateChanged As TypedEventHandler(Of AppBroadcastBackgroundServiceStreamInfo, AppBroadcastStreamStateChangedEventArgs) 

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
appBroadcast appBroadcastSettings

S’applique à