androidOnGeolocationPermissionsShowPrompt property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform()])
  2. @Deprecated("Use onGeolocationPermissionsShowPrompt instead")
FutureOr<GeolocationPermissionShowPromptResponse?> Function(T controller, String origin)? androidOnGeolocationPermissionsShowPrompt
final

Use onGeolocationPermissionsShowPrompt instead.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms

Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use onGeolocationPermissionsShowPrompt instead")
final FutureOr<GeolocationPermissionShowPromptResponse?> Function(
  T controller,
  String origin,
)?
androidOnGeolocationPermissionsShowPrompt;