Class ChangeAppUserSettingsCommandSettings
Changes user settings of the web app identified by its manifestId. If the app was not installed, this command returns an error. Unset parameters will be ignored; unrecognized values will cause an error.
Unlike the ones defined in the manifest files of the web apps, these settings are provided by the browser and controlled by the users, they impact the way the browser handling the web apps.
See the comment of each parameter.
public sealed class ChangeAppUserSettingsCommandSettings : ICommand
- Inheritance
-
ChangeAppUserSettingsCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
DisplayMode
Gets or sets the displayMode
[JsonPropertyName("displayMode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DisplayMode? DisplayMode { get; set; }
Property Value
LinkCapturing
If user allows the links clicked on by the user in the app's scope, or
extended scope if the manifest has scope extensions and the flags
DesktopPWAsLinkCapturingWithScopeExtensions and
WebAppEnableScopeExtensions are enabled.
Note, the API does not support resetting the linkCapturing to the initial value, uninstalling and installing the web app again will reset it.
TODO(crbug.com/339453269): Setting this value on ChromeOS is not supported yet.
[JsonPropertyName("linkCapturing")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? LinkCapturing { get; set; }
Property Value
- bool?
ManifestId
Gets or sets the manifestId
[JsonPropertyName("manifestId")]
public string ManifestId { get; set; }