public static class AppLink.Target
extends java.lang.Object
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppName () |
java.lang.String |
getClassName () |
java.lang.String |
getPackageName () |
android.net.Uri |
getUrl () |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AppLink.Target(java.lang.String packageName, java.lang.String className, android.net.Uri url, java.lang.String appName)
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.public android.net.Uri getUrl()
public java.lang.String getAppName()
public java.lang.String getClassName()
public java.lang.String getPackageName()