androidOnPermissionRequest property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform()])
  2. @Deprecated("Use onPermissionRequest instead")
FutureOr<PermissionRequestResponse?> Function(T controller, String origin, List<String> resources)? androidOnPermissionRequest
final

Use onPermissionRequest instead.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms
  • resources: all platforms

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

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use onPermissionRequest instead")
final FutureOr<PermissionRequestResponse?> Function(
  T controller,
  String origin,
  List<String> resources,
)?
androidOnPermissionRequest;