public class WebViewAppLinkResolver extends java.lang.Object implements AppLinkResolver
WebView
to parse the HTML containing App Link metadata.Constructor and Description |
---|
WebViewAppLinkResolver(android.content.Context context)
Creates a WebViewAppLinkResolver.
|
Modifier and Type | Method and Description |
---|---|
Task<AppLink> |
getAppLinkFromUrlInBackground(android.net.Uri url)
Asynchronously resolves App Link data for a given URL.
|
public WebViewAppLinkResolver(android.content.Context context)
context
- the context in which to create the hidden WebView
.public Task<AppLink> getAppLinkFromUrlInBackground(android.net.Uri url)
AppLinkResolver
getAppLinkFromUrlInBackground
in interface AppLinkResolver
url
- the URL to resolve into an App Link.AppLink
for the given URL.