Bagikan melalui


WebChromeClient.OnPermissionRequestCanceled(PermissionRequest) Method

Definition

Notify the host application that the given permission request has been canceled.

[Android.Runtime.Register("onPermissionRequestCanceled", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequestCanceled_Landroid_webkit_PermissionRequest_Handler")]
public virtual void OnPermissionRequestCanceled (Android.Webkit.PermissionRequest? request);
[<Android.Runtime.Register("onPermissionRequestCanceled", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequestCanceled_Landroid_webkit_PermissionRequest_Handler")>]
abstract member OnPermissionRequestCanceled : Android.Webkit.PermissionRequest -> unit
override this.OnPermissionRequestCanceled : Android.Webkit.PermissionRequest -> unit

Parameters

request
PermissionRequest

the PermissionRequest that needs be canceled.

Attributes

Remarks

Notify the host application that the given permission request has been canceled. Any related UI should therefore be hidden.

Java documentation for android.webkit.WebChromeClient.onPermissionRequestCanceled(android.webkit.PermissionRequest).

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.

Applies to