다음을 통해 공유


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

적용 대상