com.android.sdklib
Interface IAndroidTarget.OptionalLibrary

All Known Implementing Classes:
Library, LibraryType, OptionalLibraryImpl
Enclosing interface:
IAndroidTarget

public static interface IAndroidTarget.OptionalLibrary

An optional library provided by an Android Target


Method Summary
 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
 

Method Detail

getName

@NonNull
java.lang.String getName()
The name of the library, as used in the manifest (<uses-library>).


getJar

@Nullable
java.io.File getJar()
Location of the jar file. Should never be null when retrieved from a target, but may be in some cases when retrieved from an DetailsTypes.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 the libs directory in the package. Can be null when retrieved from a LocalPackage that was installed from a legacy source.