NativeWebViewSnapshotCapture(Task, Task<NativeWebViewSnapshot?>) Constructor

Definition

Assembly NativeWebView.Core.dll

Initializes a snapshot capture operation.

public NativeWebViewSnapshotCapture(Task captureStarted, Task<NativeWebViewSnapshot?> completion)

Parameters

captureStarted
Task

Completes after native capture registration has either completed or failed, after which an embedded native surface may be hidden without racing registration.

completion
Task<NativeWebViewSnapshot?>

Completes with the captured snapshot, or null when unavailable.