hasGesture property
Gets whether a gesture (such as a click) was associated with the request.
For security reasons in certain situations this method may return false
even though
the sequence of events which caused the request to be created was initiated by a user
gesture.
NOTE for Android native WebView: On Android < 21, this is always false
NOTE for Windows: Available only if the request is associated to the PlatformWebViewCreationParams.onCreateWindow event
Officially Supported Platforms/Implementations:
- Android native WebView 21+ (Official API - WebResourceRequest.hasGesture)
- Windows
Implementation
bool? hasGesture;