onPermissionRequestCanceled method

  1. @override
void onPermissionRequestCanceled(
  1. PermissionRequest permissionRequest
)
override

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:

Implementation

@override
void onPermissionRequestCanceled(PermissionRequest permissionRequest) {}