AppBroadcastPreviewStreamReader.VideoFrameArrived 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 a new video frame arrives from the app broadcast preview stream.
// Register
event_token VideoFrameArrived(TypedEventHandler<AppBroadcastPreviewStreamReader, IInspectable const&> const& handler) const;
// Revoke with event_token
void VideoFrameArrived(event_token const* cookie) const;
// Revoke with event_revoker
AppBroadcastPreviewStreamReader::VideoFrameArrived_revoker VideoFrameArrived(auto_revoke_t, TypedEventHandler<AppBroadcastPreviewStreamReader, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppBroadcastPreviewStreamReader,object> VideoFrameArrived;
function onVideoFrameArrived(eventArgs) { /* Your code */ }
appBroadcastPreviewStreamReader.addEventListener("videoframearrived", onVideoFrameArrived);
appBroadcastPreviewStreamReader.removeEventListener("videoframearrived", onVideoFrameArrived);
- or -
appBroadcastPreviewStreamReader.onvideoframearrived = onVideoFrameArrived;
Public Custom Event VideoFrameArrived As TypedEventHandler(Of AppBroadcastPreviewStreamReader, Object)
Event Type
TypedEventHandler<AppBroadcastPreviewStreamReader,IInspectable>
Windows requirements
App capabilities |
appBroadcast
appBroadcastSettings
|