com.android.sdklib.repository.descriptors
Interface IPkgDescAddon
- All Superinterfaces:
- java.lang.Comparable<IPkgDesc>, com.android.sdklib.internal.repository.IListDescription, IPkgCapabilities, IPkgDesc
public interface IPkgDescAddon
- extends IPkgDesc
IPkgDescAddon
keeps information on individual add-on SDK packages
(both local or remote packages definitions.) The base IPkgDesc
tries
to present a unified interface to package attributes and this interface
adds methods specific to extras.
To create a new IPkgDescAddon
,
use PkgDesc.Builder.newAddon(com.android.sdklib.AndroidVersion, com.android.sdklib.repository.MajorRevision, IdDisplay, IdDisplay)
.
To query generic packages capabilities, rely on IPkgDesc.getType()
and the
IPkgDesc.hasXxx()
methods provided by IPkgDesc
.
Methods inherited from interface com.android.sdklib.repository.descriptors.IPkgDesc |
getAndroidVersion, getCanonicalInstallFolder, getDescriptionShort, getDescriptionUrl, getFullRevision, getInstallId, getLicense, getListDisplay, getMajorRevision, getMinPlatformToolsRev, getMinToolsRev, getPath, getTag, getType, getVendor, isObsolete, isUpdateFor |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface com.android.sdklib.internal.repository.IListDescription |
getListDescription |
getName
@NonNull
IdDisplay getName()
- Returns the id/display name of the add-on.
- Returns:
- A non-null id/display name for the add-on