onReceivedLoginRequest property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebViewClient.onReceivedLoginRequest', apiUrl: 'https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedLoginRequest(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20java.lang.String)')])
void Function(T controller, LoginRequest loginRequest)? onReceivedLoginRequest
final

Event fired when a request to automatically log in the user has been processed.

loginRequest contains the realm, account and args of the login request.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • loginRequest: all platforms

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

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebViewClient.onReceivedLoginRequest',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedLoginRequest(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20java.lang.String)',
    ),
  ],
)
final void Function(T controller, LoginRequest loginRequest)?
onReceivedLoginRequest;