| File: Screenshot\Screenshot.netstandard.watchos.macos.cs | Web Access |
| Project: src\src\Essentials\src\Essentials.csproj (Microsoft.Maui.Essentials) |
using System.IO; using System.Threading.Tasks; using Microsoft.Maui.ApplicationModel; namespace Microsoft.Maui.Media { partial class ScreenshotImplementation : IScreenshot { public bool IsCaptureSupported => throw ExceptionUtils.NotSupportedOrImplementedException; public Task<IScreenshotResult> CaptureAsync() => throw ExceptionUtils.NotSupportedOrImplementedException; } partial class ScreenshotResult { ScreenshotResult() { } Task<Stream> PlatformOpenReadAsync(ScreenshotFormat format, int quality) => throw ExceptionUtils.NotSupportedOrImplementedException; Task PlatformCopyToAsync(Stream destination, ScreenshotFormat format, int quality) => throw ExceptionUtils.NotSupportedOrImplementedException; Task<byte[]> PlatformToPixelBufferAsync() => throw ExceptionUtils.NotSupportedOrImplementedException; } }