fromManifest

fun fromManifest(siteUrl: String): List<Icon>

Analyzes the HTML of specified URL and if there is a tag indicating WebApp Manifest, analyze the Manifest file and return icon information.

Do not call from main thread to avoid NetworkOnMainThreadException

The HTML file is downloaded up to the maximum downloadLimit and analyzed within that range. Relative icon URLs are resolved against the URL of the downloaded page or Manifest after redirects when the HTTP adapter exposes those URLs. Manifests are fetched only from the page's origin and read up to 1 MiB.

Return

List of acquired icons

Parameters

siteUrl

URL of analysis target page