Android SDK Version
  • java.lang.Object
    • com.facebook.bolts.AppLink

public class AppLink
extends java.lang.Object
Contains App Link metadata relevant for navigation on this device derived from the HTML at a given URL.
Nested Class Summary
Modifier and TypeClass and Description
static 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
Constructor and Description
AppLink(Uri sourceUrl, java.util.List<AppLink.Target> targets, Uri webUrl)
Creates an AppLink with the given metadata.
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

AppLink

public AppLink(Uri sourceUrl,
               java.util.List<AppLink.Target> targets,
               Uri webUrl)
Creates an AppLink with the given metadata.
Parameters:
sourceUrl - the URL from which this App Link was derived.
targets - an ordered list of Targets for this platform that will be used when navigating with this App Link.
webUrl - the fallback web URL, if any, for this App Link.