次の方法で共有


AppBroadcastBackgroundServiceStreamInfo.VideoEncodingResolutionChanged イベント

定義

アプリ ブロードキャスト ビデオ エンコードの解像度が変更されたときに発生します。

// Register
event_token VideoEncodingResolutionChanged(TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged_revoker VideoEncodingResolutionChanged(auto_revoke_t, TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo,object> VideoEncodingResolutionChanged;
function onVideoEncodingResolutionChanged(eventArgs) { /* Your code */ }
appBroadcastBackgroundServiceStreamInfo.addEventListener("videoencodingresolutionchanged", onVideoEncodingResolutionChanged);
appBroadcastBackgroundServiceStreamInfo.removeEventListener("videoencodingresolutionchanged", onVideoEncodingResolutionChanged);
- or -
appBroadcastBackgroundServiceStreamInfo.onvideoencodingresolutionchanged = onVideoEncodingResolutionChanged;
Public Custom Event VideoEncodingResolutionChanged As TypedEventHandler(Of AppBroadcastBackgroundServiceStreamInfo, Object) 

イベントの種類

Windows の要件

アプリの機能
appBroadcast appBroadcastSettings

適用対象