AppBroadcastBackgroundServiceStreamInfo.StreamStateChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the app broadcast stream state changes.
// 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)
Event Type
Windows requirements
App capabilities |
appBroadcast
appBroadcastSettings
|