onFormResubmission property
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebViewClient.onFormResubmission', apiUrl: 'https://developer.android.com/reference/android/webkit/WebViewClient#onFormResubmission(android.webkit.WebView,%20android.os.Message,%20android.os.Message)')])
final
As the host application if the browser should resend data as the requested page was a result of a POST. The default is to not resend the data.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebViewClient.onFormResubmission)
Parameters - Officially Supported Platforms/Implementations:
url: all platforms
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebViewClient.onFormResubmission',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebViewClient#onFormResubmission(android.webkit.WebView,%20android.os.Message,%20android.os.Message)',
),
],
)
final FutureOr<FormResubmissionAction?> Function(T controller, WebUri? url)?
onFormResubmission;