-
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
Nested Classes Modifier and Type Class Description public final class
AppLink.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.
-
Constructor Summary
Constructors Constructor Description AppLink(Uri sourceUrl, List<AppLink.Target> targets, Uri webUrl)
-
Method Summary
Modifier and Type Method Description final List<AppLink.Target>
getTargets()
final Uri
getSourceUrl()
final Uri
getWebUrl()
-
-
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 Uri getSourceUrl()
-
-
-
-