onScreenCaptureStarting property
- @SupportedPlatforms.new(platforms: [WindowsPlatform(apiName: 'ICoreWebView2_27.add_ScreenCaptureStarting', apiUrl: 'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_27?view=webview2-1.0.2849.39#add_screencapturestarting')])
final
Event fired when screen capture is starting.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - ICoreWebView2_27.add_ScreenCaptureStarting)
Parameters - Officially Supported Platforms/Implementations:
request: all platforms
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
WindowsPlatform(
apiName: 'ICoreWebView2_27.add_ScreenCaptureStarting',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_27?view=webview2-1.0.2849.39#add_screencapturestarting',
),
],
)
final FutureOr<ScreenCaptureStartingResponse?> Function(
T controller,
ScreenCaptureStartingRequest request,
)?
onScreenCaptureStarting;