AppBroadcastBackgroundServiceStreamInfo.StreamStateChanged Evento

Definizione

Si verifica quando lo stato del flusso di trasmissione dell'app cambia.

// 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) 

Tipo evento

Requisiti Windows

Funzionalità dell'app
appBroadcast appBroadcastSettings

Si applica a