setMemoryUsageTargetLevel method
- MemoryUsageTargetLevel level
Sets the WebView memory usage target level.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - ICoreWebView2_19.put_MemoryUsageTargetLevel)
Parameters - Officially Supported Platforms/Implementations:
level: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> setMemoryUsageTargetLevel(MemoryUsageTargetLevel level) =>
platform.setMemoryUsageTargetLevel(level);