onLongPressHitTestResult property
(void Function(InAppWebViewController controller, InAppWebViewHitTestResult hitTestResult)?)
onLongPressHitTestResult
getter/setter pairoverride-getter
Event fired when an HTML element of the webview has been clicked and held.
hitTestResult
represents the hit result for hitting an HTML elements.
Supported Platforms/Implementations:
- Android native WebView (Official API - View.setOnLongClickListener)
- iOS (Official API - UILongPressGestureRecognizer)
Implementation
@override
void Function(InAppWebViewController controller,
InAppWebViewHitTestResult hitTestResult)? onLongPressHitTestResult;