다음을 통해 공유


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

적용 대상