public interface PermissionHandler
Modifier and Type | Method and Description |
---|---|
PermissionStatus |
onRequestPermission(PermissionRequest request)
This method is invoked when a web page requests specific permission.
当网页请求特定权限时,将调用此方法。 |
PermissionStatus onRequestPermission(PermissionRequest request)
PermissionStatus.DENIED
status will be return to the web page.
request
- provides details about permission request.
-提供有关权限请求的详细信息。
PermissionStatus.GRANTED
if the given permission
request
is granted, otherwise
PermissionStatus.DENIED
.
如果授予给定的权限,则为。