onGeolocationPermissionsHidePrompt property
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebChromeClient.onGeolocationPermissionsHidePrompt', apiUrl: 'https://developer.android.com/reference/android/webkit/WebChromeClient#onGeolocationPermissionsHidePrompt()')])
final
Notify the host application that a request for Geolocation permissions, made with a previous call to onGeolocationPermissionsShowPrompt has been canceled. Any related UI should therefore be hidden.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebChromeClient.onGeolocationPermissionsHidePrompt)
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebChromeClient.onGeolocationPermissionsHidePrompt',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebChromeClient#onGeolocationPermissionsHidePrompt()',
),
],
)
final void Function(T controller)? onGeolocationPermissionsHidePrompt;