Package 

Class AppLink.Target


  • 
    public class AppLink.Target
    
                        

    Represents a target defined in App Link metadata, consisting of at least a package name, andoptionally a URL, class name (for explicit intent handling), and an app name.

    • Constructor Detail

      • AppLink.Target

        AppLink.Target(String packageName, String className, Uri url, 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.