Package 

Class AppLink


  • 
    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.

    • Method Summary

      Modifier and Type Method Description
      final List<AppLink.Target> getTargets()
      final Uri getSourceUrl()
      final Uri getWebUrl()
      • 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.