PWAClientChangeAppUserSettingsAsync Method |
Version 130.1.90
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.
Namespace: CefSharp.DevTools.PWAAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> ChangeAppUserSettingsAsync(
string manifestId,
bool? linkCapturing = null,
DisplayMode? displayMode = null
)
public:
Task<DevToolsMethodResponse^>^ ChangeAppUserSettingsAsync(
String^ manifestId,
Nullable<bool> linkCapturing = nullptr,
Nullable<DisplayMode> displayMode = nullptr
)
Parameters
- manifestId String
- manifestId
- linkCapturing NullableBoolean (Optional)
- If user allows the links clicked on by the user in the app's scope, orextended 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 theinitial value, uninstalling and installing the web app again will resetit.TODO(crbug.com/339453269): Setting this value on ChromeOS is notsupported yet.
- displayMode NullableDisplayMode (Optional)
- displayMode
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also