public static interface IAndroidTarget.OptionalLibrary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Description of the library.
|
java.io.File |
getJar()
Location of the jar file.
|
java.lang.String |
getLocalJarPath()
Path to the library jar file relative to the
libs directory in the package. |
java.lang.String |
getName()
The name of the library, as used in the manifest (<uses-library>).
|
boolean |
isManifestEntryRequired()
Whether the library requires a manifest entry
|
@NonNull java.lang.String getName()
@Nullable java.io.File getJar()
null
when retrieved from a target,
but may be in some cases when retrieved from an DetailsTypes.AddonDetailsType
.@NonNull java.lang.String getDescription()
boolean isManifestEntryRequired()
@Nullable java.lang.String getLocalJarPath()
libs
directory in the package.
Can be null
when retrieved from a LocalPackage
that was installed from
a legacy source.