1 implementation of IScreenshotResult
Microsoft.Maui.Essentials (1)
Screenshot\Screenshot.shared.cs (1)
284
partial class ScreenshotResult :
IScreenshotResult
14 references to IScreenshotResult
Microsoft.Maui (9)
ViewExtensions.cs (2)
69
public static Task<
IScreenshotResult
?> CaptureAsync(this IView view)
80
return Task.FromResult<
IScreenshotResult
?>(null);
VisualDiagnostics\VisualDiagnostics.cs (5)
83
var
result = await view.CaptureAsync();
89
var
result = await view.CaptureAsync();
95
var
result = await window.CaptureAsync();
101
var
result = await window.CaptureAsync();
105
static async Task<byte[]?> ScreenshotResultToArray(
IScreenshotResult
? result, ScreenshotFormat format, int quality)
WindowExtensions.cs (2)
18
public static Task<
IScreenshotResult
?> CaptureAsync(this IWindow window)
29
return Task.FromResult<
IScreenshotResult
?>(null);
Microsoft.Maui.Essentials (5)
Screenshot\Screenshot.netstandard.watchos.macos.cs (1)
12
public Task<
IScreenshotResult
> CaptureAsync() =>
Screenshot\Screenshot.shared.cs (4)
22
/// <returns>An instance of <see cref="
IScreenshotResult
"/> with information about the captured screenshot.</returns>
23
Task<
IScreenshotResult
> CaptureAsync();
146
/// <returns>An instance of <see cref="
IScreenshotResult
"/> with information about the captured screenshot.</returns>
148
public static Task<
IScreenshotResult
> CaptureAsync()