AppBroadcastBackgroundServiceStreamInfo.StreamStateChanged イベント

定義

アプリ ブロードキャスト ストリームの状態が変化したときに発生します。

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

イベントの種類

Windows の要件

アプリの機能
appBroadcast appBroadcastSettings

適用対象