Package com.android.sdklib
Interface OptionalLibrary
-
- All Known Implementing Classes:
Library,LibraryType,LibraryType,LibraryType,OptionalLibraryImpl
public interface OptionalLibraryAn optional library provided by an Android Target
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Description of the library.java.nio.file.PathgetJar()Location of the jar file.java.lang.StringgetLocalJarPath()Path to the library jar file relative to thelibsdirectory in the package.java.lang.StringgetName()The name of the library, as used in the manifest (<uses-library>).booleanisManifestEntryRequired()Whether the library requires a manifest entry
-
-
-
Method Detail
-
getName
@NonNull java.lang.String getName()
The name of the library, as used in the manifest (<uses-library>).
-
getJar
@Nullable java.nio.file.Path getJar()
Location of the jar file. Should never benullwhen retrieved from a target, but may be in some cases when retrieved from anDetailsTypes.AddonDetailsType.
-
getDescription
@NonNull java.lang.String getDescription()
Description of the library.
-
isManifestEntryRequired
boolean isManifestEntryRequired()
Whether the library requires a manifest entry
-
getLocalJarPath
@Nullable java.lang.String getLocalJarPath()
Path to the library jar file relative to thelibsdirectory in the package. Can benullwhen retrieved from aLocalPackagethat was installed from a legacy source.
-
-