onPermissionRequestCanceled method
Notify the host application that the given permission request has been canceled. Any related UI should therefore be hidden.
permissionRequest
represents the permission request that needs be canceled
with an array of resources the web content wants to access
and the origin of the web page which is trying to access the restricted resources.
NOTE for Android: available only on Android 21+.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebChromeClient.onPermissionRequestCanceled)
Implementation
void onPermissionRequestCanceled(PermissionRequest permissionRequest) {}