AppCaptureRecordOperation.FileGenerated Event

Definition

Occurs when the recording state changes due to the file associated with the recording operation.

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

Event Type

TypedEventHandler<AppCaptureRecordOperation,AppCaptureFileGeneratedEventArgs>

Windows 10 requirements

App capabilities
appCaptureSettings

Applies to