-
public class AppLink.TargetRepresents 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 Summary
Constructors Constructor Description AppLink.Target(String packageName, String className, Uri url, String appName)Creates a Target with the given metadata.
-
Method Summary
Modifier and Type Method Description UrigetUrl()StringgetPackageName()StringgetClassName()StringgetAppName()-
-
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.
-
-
Method Detail
-
getPackageName
String getPackageName()
-
getClassName
String getClassName()
-
getAppName
String getAppName()
-
-
-
-