次の方法で共有


AppCaptureRecordOperation.DurationGenerated イベント

定義

記録操作の期間が原因で記録状態が変化したときに発生します。

// Register
event_token DurationGenerated(TypedEventHandler<AppCaptureRecordOperation, AppCaptureDurationGeneratedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppCaptureRecordOperation::DurationGenerated_revoker DurationGenerated(auto_revoke_t, TypedEventHandler<AppCaptureRecordOperation, AppCaptureDurationGeneratedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppCaptureRecordOperation,AppCaptureDurationGeneratedEventArgs> DurationGenerated;
function onDurationGenerated(eventArgs) { /* Your code */ }
appCaptureRecordOperation.addEventListener("durationgenerated", onDurationGenerated);
appCaptureRecordOperation.removeEventListener("durationgenerated", onDurationGenerated);
- or -
appCaptureRecordOperation.ondurationgenerated = onDurationGenerated;
Public Custom Event DurationGenerated As TypedEventHandler(Of AppCaptureRecordOperation, AppCaptureDurationGeneratedEventArgs) 

イベントの種類

Windows の要件

アプリの機能
appCaptureSettings

適用対象