Class PageContentSnapshotter
- Namespace
- PageCurl.Maui
- Assembly
- PageCurl.Maui.dll
The neutral target reports that native view capture is unavailable.
public sealed class PageContentSnapshotter : IPageContentSnapshotter
- Inheritance
-
PageContentSnapshotter
- Implements
- Inherited Members
Constructors
PageContentSnapshotter()
public PageContentSnapshotter()
Methods
CaptureAsync(View, CancellationToken)
Captures on the UI thread and transfers ownership of the returned image.
public Task<SKImage> CaptureAsync(View content, CancellationToken cancellationToken)
Parameters
contentViewcancellationTokenCancellationToken
Returns
Remarks
Implementations must complete their task and cooperate with cancellation. Spread captures are serialized; an unfinished capture delays later requests, including refresh after hiding and showing the control.