JavaScript is disabled on your browser.
bolts

Class AppLink.Target

  • Enclosing class:
    AppLink


    public static class AppLink.Target
    extends java.lang.Object
    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 and Description
      AppLink.Target (java.lang.String packageName, java.lang.String className, android.net.Uri url, java.lang.String appName)
      Creates a Target with the given metadata.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      java.lang.String getAppName ()
      java.lang.String getClassName ()
      java.lang.String getPackageName ()
      android.net.Uri getUrl ()
      • Methods inherited from class java.lang.Object

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

      • AppLink.Target

        public AppLink.Target(java.lang.String packageName,
         java.lang.String className,
         android.net.Uri url,
         java.lang.String appName)
        Creates a Target with the given metadata.
        Parameters:
        packageName - the package name for the target.
        className - the class name to be used when creating an explicit intent.
        url - the URL to be used as the data in the constructed intent.
        appName - the name of the app.
    • Method Detail

      • getUrl

        public android.net.Uri getUrl()
        Returns:
        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.
      • getAppName

        public java.lang.String getAppName()
        Returns:
        the app name.
      • getClassName

        public java.lang.String getClassName()
        Returns:
        the class name to be used when creating an explicit intent from this target.
      • getPackageName

        public java.lang.String getPackageName()
        Returns:
        the package name of the app.

AltStyle によって変換されたページ (->オリジナル) /