Package Torello.Browser.BrowserAPI
Class Page.WebAppManifest
- java.lang.Object
-
- Torello.Browser.BaseType<Page.WebAppManifest>
-
- Torello.Browser.BrowserAPI.Page.WebAppManifest
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Page
public static class Page.WebAppManifest extends BaseType<Page.WebAppManifest> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in thePagedomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.[No Description Provided by Google]
EXPERIMENTAL- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Page.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Page.java
File Size: 7,738 Bytes Line Count: 210 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Page$$WebAppManifest$$.java
- Open New Browser-Tab: Page$$WebAppManifest$$.java
File Size: 25,403 Bytes Line Count: 583 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description StringbackgroundColor[No Description Provided by Google]StringdescriptionThe extra description provided by the manifest.Stringdir[No Description Provided by Google]Stringdisplay[No Description Provided by Google]String[]displayOverridesThe overrided display mode controlled by the user.Page.FileHandler[]fileHandlersThe handlers to open files.Page.ImageResource[]icons[No Description Provided by Google]Stringid[No Description Provided by Google]Stringlang[No Description Provided by Google]Page.LaunchHandlerlaunchHandlerTODO(crbug.com/1231886): This field is non-standard and part of a Chrome experiment.Stringname[No Description Provided by Google]Stringorientation[No Description Provided by Google]BooleanpreferRelatedApplications[No Description Provided by Google]Page.ProtocolHandler[]protocolHandlersThe handlers to open protocols.Page.RelatedApplication[]relatedApplications[No Description Provided by Google]Stringscope[No Description Provided by Google]Page.ScopeExtension[]scopeExtensionsNon-standard, see https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.mdPage.Screenshot[]screenshotsThe screenshots used by chromium.Page.ShareTargetshareTarget[No Description Provided by Google]Page.Shortcut[]shortcuts[No Description Provided by Google]StringshortName[No Description Provided by Google]StringstartUrl[No Description Provided by Google]StringthemeColor[No Description Provided by Google]-
Fields inherited from class Torello.Browser.BaseType
domain, helperSingleton, isPresent, numFields
-
-
Constructor Summary
Constructors Constructor Description WebAppManifest(ReadOnlyList<Boolean> isPresent, String backgroundColor, String description, String dir, String display, String[] displayOverrides, Page.FileHandler[] fileHandlers, Page.ImageResource[] icons, String id, String lang, Page.LaunchHandler launchHandler, String name, String orientation, Boolean preferRelatedApplications, Page.ProtocolHandler[] protocolHandlers, Page.RelatedApplication[] relatedApplications, String scope, Page.ScopeExtension[] scopeExtensions, Page.Screenshot[] screenshots, Page.ShareTarget shareTarget, String shortName, Page.Shortcut[] shortcuts, String startUrl, String themeColor)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Page.WebAppManifestfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Page.WebAppManifest>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
backgroundColor
public final java.lang.String backgroundColor
[No Description Provided by Google]
OPTIONAL
-
description
public final java.lang.String description
The extra description provided by the manifest.
OPTIONAL
-
dir
public final java.lang.String dir
[No Description Provided by Google]
OPTIONAL
-
display
public final java.lang.String display
[No Description Provided by Google]
OPTIONAL
-
displayOverrides
public final java.lang.String[] displayOverrides
The overrided display mode controlled by the user.
OPTIONAL
-
fileHandlers
public final Page.FileHandler[] fileHandlers
The handlers to open files.
OPTIONAL
-
icons
public final Page.ImageResource[] icons
[No Description Provided by Google]
OPTIONAL
-
id
public final java.lang.String id
[No Description Provided by Google]
OPTIONAL
-
lang
public final java.lang.String lang
[No Description Provided by Google]
OPTIONAL
-
launchHandler
public final Page.LaunchHandler launchHandler
TODO(crbug.com/1231886): This field is non-standard and part of a Chrome experiment. See: https://github.com/WICG/web-app-launch/blob/main/launch_handler.md
OPTIONAL
-
name
public final java.lang.String name
[No Description Provided by Google]
OPTIONAL
-
orientation
public final java.lang.String orientation
[No Description Provided by Google]
OPTIONAL
-
preferRelatedApplications
public final java.lang.Boolean preferRelatedApplications
[No Description Provided by Google]
OPTIONAL
-
protocolHandlers
public final Page.ProtocolHandler[] protocolHandlers
The handlers to open protocols.
OPTIONAL
-
relatedApplications
public final Page.RelatedApplication[] relatedApplications
[No Description Provided by Google]
OPTIONAL
-
scope
public final java.lang.String scope
[No Description Provided by Google]
OPTIONAL
-
scopeExtensions
public final Page.ScopeExtension[] scopeExtensions
Non-standard, see https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md
OPTIONAL
-
screenshots
public final Page.Screenshot[] screenshots
The screenshots used by chromium.
OPTIONAL
-
shareTarget
public final Page.ShareTarget shareTarget
[No Description Provided by Google]
OPTIONAL
-
shortName
public final java.lang.String shortName
[No Description Provided by Google]
OPTIONAL
-
shortcuts
public final Page.Shortcut[] shortcuts
[No Description Provided by Google]
OPTIONAL
-
startUrl
public final java.lang.String startUrl
[No Description Provided by Google]
OPTIONAL
-
themeColor
public final java.lang.String themeColor
[No Description Provided by Google]
OPTIONAL
-
-
Constructor Detail
-
WebAppManifest
public WebAppManifest(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String backgroundColor, java.lang.String description, java.lang.String dir, java.lang.String display, java.lang.String[] displayOverrides, Page.FileHandler[] fileHandlers, Page.ImageResource[] icons, java.lang.String id, java.lang.String lang, Page.LaunchHandler launchHandler, java.lang.String name, java.lang.String orientation, java.lang.Boolean preferRelatedApplications, Page.ProtocolHandler[] protocolHandlers, Page.RelatedApplication[] relatedApplications, java.lang.String scope, Page.ScopeExtension[] scopeExtensions, Page.Screenshot[] screenshots, Page.ShareTarget shareTarget, java.lang.String shortName, Page.Shortcut[] shortcuts, java.lang.String startUrl, java.lang.String themeColor)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Page.WebAppManifest fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Page.WebAppManifest> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-