AppBroadcastPreviewStreamReader.VideoFrameArrived 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當新的視訊畫面從應用程式廣播預覽串流送達時發生。
// 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)
事件類型
TypedEventHandler<AppBroadcastPreviewStreamReader,IInspectable>
Windows 需求
應用程式功能 |
appBroadcast
appBroadcastSettings
|