Android SDK Version


public final class AppLink
Contains App Link metadata relevant for navigation on this device derived from the HTML at a given URL.
Nested Class Summary
Modifier and TypeClassDescription
public final classAppLink.Target
Represents a target defined in App Link metadata, consisting of at least a package name, and optionally a URL, class name (for explicit intent handling), and an app name.
Field Summary
Modifier and TypeFieldDescription
private final List<AppLink.Target>targets
private final UrisourceUrl
private final UriwebUrl
Constructor Summary
ConstructorDescription
AppLink(Uri sourceUrl, List<AppLink.Target> targets, Uri webUrl)
Method Summary
Modifier and TypeMethodDescription
final List<AppLink.Target>getTargets()
final UrigetSourceUrl()
final UrigetWebUrl()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

AppLink

AppLink(Uri sourceUrl, List<AppLink.Target> targets, Uri webUrl)
Parameters:
sourceUrl - the URL from which this App Link was derived.
targets - the ordered list of Targets for this platform.
webUrl - the fallback web URL, if any was specified, for this App Link.
Method Detail

getTargets

 final List<AppLink.Target> getTargets()

getSourceUrl

 final UrigetSourceUrl()

getWebUrl

 final UrigetWebUrl()