WebChromeClient.OnPermissionRequest(PermissionRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notify the host application that web content is requesting permission to access the specified resources and the permission currently isn't granted or denied.
[Android.Runtime.Register("onPermissionRequest", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequest_Landroid_webkit_PermissionRequest_Handler")]
public virtual void OnPermissionRequest (Android.Webkit.PermissionRequest? request);
[<Android.Runtime.Register("onPermissionRequest", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequest_Landroid_webkit_PermissionRequest_Handler")>]
abstract member OnPermissionRequest : Android.Webkit.PermissionRequest -> unit
override this.OnPermissionRequest : Android.Webkit.PermissionRequest -> unit
Parameters
- request
- PermissionRequest
the PermissionRequest from current web content.
- Attributes
Remarks
Notify the host application that web content is requesting permission to access the specified resources and the permission currently isn't granted or denied. The host application must invoke PermissionRequest#grant(String[])
or PermissionRequest#deny()
.
If this method isn't overridden, the permission is denied.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.