AppBroadcastBackgroundServiceStreamInfo.VideoEncodingResolutionChanged 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 video encoding resolution changes.
// 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)
Event Type
TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo,Object>
TypedEventHandler<AppBroadcastBackgroundServiceStreamInfo,IInspectable>
Windows requirements
App capabilities |
appBroadcast
appBroadcastSettings
|