Class RequestPermissionCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.browser.internal.rpc.RequestPermission.Response>
com.teamdev.jxbrowser.permission.callback.RequestPermissionCallback.Action
- Enclosing interface:
- RequestPermissionCallback
public static final class RequestPermissionCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.browser.internal.rpc.RequestPermission.Response>
An action providing a response to the
RequestPermissionCallback
.-
Constructor Summary
-
Method Summary
Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
public Action(Consumer<com.teamdev.jxbrowser.browser.internal.rpc.RequestPermission.Response> consumer)
-
-
Method Details
-
grant
public void grant()Notifies the browser that the requested permission should be granted. -
deny
public void deny()Notifies the browser that the requested permission should be denied.
-