Click or drag to resize

PWAClient Class

Version 130.1.90
This domain allows interacting with the browser to control PWAs.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainBase
    CefSharp.DevTools.PWAPWAClient

Namespace: CefSharp.DevTools.PWA
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public class PWAClient : DevToolsDomainBase

The PWAClient type exposes the following members.

Constructors
 NameDescription
Public methodPWAClient PWA
Top
Methods
 NameDescription
Public methodChangeAppUserSettingsAsync 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.
Protected methodEnumToString(ContentEncoding)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(CSPViolationType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(DisabledImageType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(Enum)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(PermissionType)
(Inherited from DevToolsDomainBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetOsAppStateAsync Returns the following OS state for the given manifest id.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInstallAsync Installs the given manifest identity, optionally using the given install_url or IWA bundle location. TODO(crbug.com/337872319) Support IWA to meet the following specific requirement. IWA-specific install description: If the manifest_id is isolated-app://, install_url_or_bundle_url is required, and can be either an http(s) URL or file:// URL pointing to a signed web bundle (.swbn). The .swbn file's signing key must correspond to manifest_id. If Chrome is not in IWA dev mode, the installation will fail, regardless of the state of the allowlist.
Public methodLaunchAsync Launches the installed web app, or an url in the same web app instead of the default start url if it is provided. Returns a page Target.TargetID which can be used to attach to via Target.attachToTarget or similar APIs.
Public methodLaunchFilesInAppAsync Opens one or more local files from an installed web app identified by its manifestId. The web app needs to have file handlers registered to process the files. The API returns one or more page Target.TargetIDs which can be used to attach to via Target.attachToTarget or similar APIs. If some files in the parameters cannot be handled by the web app, they will be ignored. If none of the files can be handled, this API returns an error. If no files are provided as the parameter, this API also returns an error. According to the definition of the file handlers in the manifest file, one Target.TargetID may represent a page handling one or more files. The order of the returned Target.TargetIDs is not guaranteed. TODO(crbug.com/339454034): Check the existences of the input files.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpenCurrentPageInAppAsync Opens the current page in its web app identified by the manifest id, needs to be called on a page target. This function returns immediately without waiting for the app to finish loading.
Protected methodToBase64String
(Inherited from DevToolsDomainBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUninstallAsync Uninstalls the given manifest_id and closes any opened app windows.
Top
See Also