hasGesture property
getter/setter pair
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.
Officially Supported Platforms/Implementations:
- Android WebView 21+ (Official API - WebResourceRequest.hasGesture):
- On Android < 21, this is always
false
- On Android < 21, this is always
- Windows WebView2:
- Available only if the request is associated to the PlatformWebViewCreationParams.onCreateWindow event
Implementation
bool? hasGesture;