PWADomain
Functions
Link copied to clipboard
Returns the following OS state for the given manifest id.
Link copied to clipboard
inline suspend fun install(manifestId: String, optionalArgs: InstallRequest.Builder.() -> Unit = {}): InstallResponse
Installs the given manifest identity, optionally using the given install_url or IWA bundle location.
Link copied to clipboard
inline suspend fun launch(manifestId: String, optionalArgs: LaunchRequest.Builder.() -> Unit = {}): LaunchResponse
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 tab / web contents based Target.TargetID which can be used to attach to via Target.attachToTarget or similar APIs.
Link copied to clipboard
Uninstals the given manifest_id and closes any opened app windows.