Package 

Class AppLink.Target


  • 
    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 String getPackageName() the package name of the app.
      final String getClassName() the class name to be used when creating an explicit intent from this target.
      final Uri getUrl() the URL that will be used as the data in an intent constructed from this target.
      final String getAppName() the app name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getClassName

         final String getClassName()

        the class name to be used when creating an explicit intent from this target.

      • getUrl

         final Uri getUrl()

        the URL that will be used as the data in an intent constructed from this target. If no url is specified, the intent will use the URL that was the source of this metadata.