Package org.mozilla.geckoview
Class WebExtension.PermissionPromptResponse
Object
org.mozilla.geckoview.WebExtension.PermissionPromptResponse
- Enclosing class:
- WebExtension
Holds all the information which the user has submited as part of a confirmation of a
permissions prompt request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPermissionPromptResponse
(Boolean isPermissionsGranted, Boolean isPrivateModeGranted) Creates a new PermissionPromptResponse with the given fields. -
Method Summary
-
Field Details
-
isPermissionsGranted
Whether the user granted permissions or not. -
isPrivateModeGranted
Whether the user granted access in private mode or not.
-
-
Constructor Details
-
PermissionPromptResponse
public PermissionPromptResponse(@Nullable Boolean isPermissionsGranted, @Nullable Boolean isPrivateModeGranted) Creates a new PermissionPromptResponse with the given fields.- Parameters:
isPermissionsGranted
- Whether the user granted permissions or not.isPrivateModeGranted
- Whether the user granted access in private mode or not.
-