Package org.mozilla.geckoview
Class WebExtension.BrowsingDataDelegate.Settings
Object
org.mozilla.geckoview.WebExtension.BrowsingDataDelegate.Settings
- Enclosing interface:
- WebExtension.BrowsingDataDelegate
This class represents the current default settings for the "Clear Data" functionality in the
browser.
See also: WebExtensions/API/browsingData/settings
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
Data types currently selected in the browser's "Clear Data" UI.final int
Currently selected setting in the browser's "Clear Data" UI for how far back in time to remove data given in milliseconds since the UNIX epoch.final long
Data types that can be toggled in the browser's "Clear Data" UI. -
Constructor Summary
ConstructorDescriptionSettings
(int since, long toggleableTypes, long selectedTypes) Creates an instance of Settings. -
Method Summary
-
Field Details
-
sinceUnixTimestamp
public final int sinceUnixTimestampCurrently selected setting in the browser's "Clear Data" UI for how far back in time to remove data given in milliseconds since the UNIX epoch. -
toggleableTypes
public final long toggleableTypesData types that can be toggled in the browser's "Clear Data" UI. One or more flags fromWebExtension.BrowsingDataDelegate.Type
. -
selectedTypes
public final long selectedTypesData types currently selected in the browser's "Clear Data" UI. One or more flags fromWebExtension.BrowsingDataDelegate.Type
.
-
-
Constructor Details
-
Settings
@UiThread public Settings(int since, long toggleableTypes, long selectedTypes) Creates an instance of Settings.This class represents the current default settings for the "Clear Data" functionality in the browser.
- Parameters:
since
- Currently selected setting in the browser's "Clear Data" UI for how far back in time to remove data given in milliseconds since the UNIX epoch.toggleableTypes
- Data types that can be toggled in the browser's "Clear Data" UI. One or more flags fromWebExtension.BrowsingDataDelegate.Type
.selectedTypes
- Data types currently selected in the browser's "Clear Data" UI. One or more flags fromWebExtension.BrowsingDataDelegate.Type
.
-