requestImageRef method
Requests the URL of the image last touched by the user.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.requestImageRef)
- iOS WKWebView:
- This method is implemented using JavaScript.
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<RequestImageRefResult?> requestImageRef() =>
platform.requestImageRef();