DH5AppManifest

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(DH5App anApp)
Undocumented in source.
this
this(string aName)
Undocumented in source.
this
this(DH5App anApp, string aName)
Undocumented in source.

Members

Functions

clearIcons
O clearIcons()
Undocumented in source. Be warned that the author may not have intended to support it.
clearRelatedApplications
O clearRelatedApplications()
Undocumented in source. Be warned that the author may not have intended to support it.
clearScreenshots
O clearScreenshots()
Undocumented in source. Be warned that the author may not have intended to support it.
iarcRatingId
auto iarcRatingId()
Undocumented in source. Be warned that the author may not have intended to support it.
iarcRatingId
O iarcRatingId(UUID newIarcRatingId)
Undocumented in source. Be warned that the author may not have intended to support it.
iarcRatingId
O iarcRatingId(string newIarcRatingId)
Undocumented in source. Be warned that the author may not have intended to support it.
icons
auto icons()
Undocumented in source. Be warned that the author may not have intended to support it.
icons
O icons(string[string][] addIcons)
Undocumented in source. Be warned that the author may not have intended to support it.
icons
O icons(string[string][] addIcons)
Undocumented in source. Be warned that the author may not have intended to support it.
lang
auto lang()
Undocumented in source. Be warned that the author may not have intended to support it.
lang
O lang(string newLang)
Undocumented in source. Be warned that the author may not have intended to support it.
navScope
auto navScope()
Undocumented in source. Be warned that the author may not have intended to support it.
navScope
O navScope(string newScope)
Undocumented in source. Be warned that the author may not have intended to support it.
orientation
auto orientation()
Undocumented in source. Be warned that the author may not have intended to support it.
orientation
O orientation(string newOrientation)
Undocumented in source. Be warned that the author may not have intended to support it.
preferRelatedApplications
auto preferRelatedApplications()
Undocumented in source. Be warned that the author may not have intended to support it.
preferRelatedApplications
O preferRelatedApplications(bool newPreferRelatedApplications)
Undocumented in source. Be warned that the author may not have intended to support it.
relatedApplications
auto relatedApplications()
Undocumented in source. Be warned that the author may not have intended to support it.
relatedApplications
O relatedApplications(string[string] addRelatedApplication)
Undocumented in source. Be warned that the author may not have intended to support it.
screenshots
auto screenshots()
Undocumented in source. Be warned that the author may not have intended to support it.
screenshots
O screenshots(string[string][] addScreenshots)
Undocumented in source. Be warned that the author may not have intended to support it.
screenshots
O screenshots(string[string][] addScreenshots)
Undocumented in source. Be warned that the author may not have intended to support it.
serviceworker
auto serviceworker()
Undocumented in source. Be warned that the author may not have intended to support it.
serviceworker
O serviceworker(string[string] newServiceworker)
Undocumented in source. Be warned that the author may not have intended to support it.
shortName
auto shortName()
Undocumented in source. Be warned that the author may not have intended to support it.
shortName
O shortName(string newShortName)
Undocumented in source. Be warned that the author may not have intended to support it.
startUrl
auto startUrl()
Undocumented in source. Be warned that the author may not have intended to support it.
startUrl
O startUrl(string newStartUrl)
Undocumented in source. Be warned that the author may not have intended to support it.
themeColor
auto themeColor()
Undocumented in source. Be warned that the author may not have intended to support it.
themeColor
O themeColor(string newThemeColor)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_categories
string[] _categories;

categories - defining the names of categories that the application supposedly belongs to. Examples for categories (W3C) are "books", "business", "education", "entertainment", "finance", "fitness", "food", "games", "government", "health", "kids", "lifestyle", "magazines", "medical", "music", "navigation", "news", "personalization", "photo", "politics", "productivity", "security", "shopping", "social", "sports", "travel", "utilities", "weather" and vendor-specific values.

_iarcRatingId
string _iarcRatingId;

iarcRatingId - string that represents the International Age Rating Coalition (IARC) certification code of the web application. It is intended to be used to determine which ages the web application is appropriate for.

_icons
string[string][] _icons;

icons - specifies an array of objects representing image files that can serve as application icons for different contexts. Object members are # sizes - A string containing space-separated image dimensions. # src - The path to the image file. If src is a relative URL, the base URL will be the URL of the manifest. # type - A hint as to the media type of the image. The purpose of this member is to allow a user agent to quickly ignore images with media types it does not support. # purpose - Defines the purpose of the image, for example if the image is intended to serve some special purpose in the context of the host OS (i.e., for better integration). Valid values are "badge": A user agent can present this icon where space constraints and/or color requirements differ from those of the application icon. "maskable": The image is designed with icon masks and safe zone in mind, such that any part of the image outside the safe zone can safely be ignored and masked away by the user agent. "any": (Default) The user agent is free to display the icon in any context.

_lang
string _lang;

lang - string containing a single language tag. It specifies the primary language for the values of the manifest's directionality-capable members, and together with dir determines their directionality.

_orientation
string _orientation;

orientation - defines the default orientation for all the website's top-level browsing contexts. Valid values are "any", "natural", "landscape", "landscape-primary", "landscape-secondary", "portrait", "portrait-primary", "portrait-secondary"

_preferRelatedApplications
bool _preferRelatedApplications;

preferRelatedApplications - specifies that applications listed in related_applications should be preferred over the web application. If the prefer_related_applications member is set to true, the user agent might suggest installing one of the related applications instead of this web app.

_relatedApplications
string[string][] _relatedApplications;

relatedApplications - array of objects specifying native applications that are installable by, or accessible to, the underlying platform Object members are "platform" - The platform on which the application can be found. "url" - The URL at which the application can be found. "id" -The ID used to represent the application on the specified platform.

_scope
string _scope;

scope - defines the navigation scope of this web application's application context. It restricts what web pages can be viewed while the manifest is applied. If the user navigates outside the scope, it reverts to a normal web page inside a browser tab or window.

_screenshots
string[string][] _screenshots;

screenshots - array of screenshots intended to showcase the application. "src": "screenshot.webp", "sizes": "1280x720", "type": "image/webp"

_serviceworker
string[string] _serviceworker;

serviceworker - describes a service worker that the developer intends to install to control the PWA. src The URL to download the service worker script from. This is the only required member of the serviceworker member. scope A string representing a URL that defines a service worker's registration scope; that is, what range of URLs a service worker can control. This is usually a relative URL, relative to the base URL of the application. By default, the scope value for a service worker registration is set to the directory where the service worker script is located. type ? update_via_cache Whether the user agent cache should be bypassed when fetching the service worker.

_shortName
string _shortName;

shortName - represents the name of the web application displayed to the user if there is not enough space to display name shortName is directionality-capable

_startUrl
string _startUrl;

startUrl - represents the start URL of the web application — the prefered URL that should be loaded when the user launches the web application

_themeColor
string _themeColor;

themeColor - defines the default theme color for the application

Meta