-
public final class AppLink.TargetRepresents 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 Description AppLink.Target(String packageName, String className, Uri url, String appName)
-
Method Summary
Modifier and Type Method Description final StringgetPackageName()the package name of the app. final StringgetClassName()the class name to be used when creating an explicit intent from this target. final UrigetUrl()the URL that will be used as the data in an intent constructed from this target. final StringgetAppName()the app name. -
-
Method Detail
-
getPackageName
final String getPackageName()
the package name of the app.
-
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.
-
getAppName
final String getAppName()
the app name.
-
-
-
-