requestFocusNodeHref method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebView.requestFocusNodeHref', apiUrl: 'https://developer.android.com/reference/android/webkit/WebView#requestFocusNodeHref(android.os.Message)'), IOSPlatform(note: 'This method is implemented using JavaScript.')])
Future<RequestFocusNodeHrefResult?> requestFocusNodeHref()

Requests the anchor or image element URL at the last tapped point.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebView.requestFocusNodeHref',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/WebView#requestFocusNodeHref(android.os.Message)',
    ),
    IOSPlatform(note: 'This method is implemented using JavaScript.'),
  ],
)
Future<RequestFocusNodeHrefResult?> requestFocusNodeHref() {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.requestFocusNodeHref.name} is not implemented on the current platform',
  );
}