AppCaptureRecordOperation.FileGenerated 事件

定义

当记录状态由于与录制操作关联的文件而更改时发生。

// Register
event_token FileGenerated(TypedEventHandler<AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs const&> const& handler) const;

// Revoke with event_token
void FileGenerated(event_token const* cookie) const;

// Revoke with event_revoker
AppCaptureRecordOperation::FileGenerated_revoker FileGenerated(auto_revoke_t, TypedEventHandler<AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppCaptureRecordOperation,AppCaptureFileGeneratedEventArgs> FileGenerated;
function onFileGenerated(eventArgs) { /* Your code */ }
appCaptureRecordOperation.addEventListener("filegenerated", onFileGenerated);
appCaptureRecordOperation.removeEventListener("filegenerated", onFileGenerated);
- or -
appCaptureRecordOperation.onfilegenerated = onFileGenerated;
Public Custom Event FileGenerated As TypedEventHandler(Of AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs) 

事件类型

Windows 要求

应用功能
appCaptureSettings

适用于