次の方法で共有


AppBroadcastPreviewStreamReader.VideoFrameArrived イベント

定義

アプリ ブロードキャスト プレビュー ストリームから新しいビデオ フレームが到着したときに発生します。

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

イベントの種類

Windows の要件

アプリの機能
appBroadcast appBroadcastSettings

適用対象