Interface IPkgDescExtra
-
- All Known Implementing Classes:
PkgDescExtra
@Deprecated public interface IPkgDescExtra extends IPkgDesc
Deprecated.This is part of the old SDK manager framework. UseAndroidSdkHandler/RepoManagerand associated classes instead.IPkgDescExtrakeeps information on individual extra SDK packages (both local or remote packages definitions.) The baseIPkgDesctries to present a unified interface to package attributes and this interface adds methods specific to extras.To create a new
IPkgDescExtra, usePkgDesc.Builder.newExtra(IdDisplay, String, String, String[], Revision))}.The extra's revision is a
Revision; the attribute is however accessed viaIPkgDesc.getRevision()instead of introducing a new custom method.To query generic packages capabilities, rely on
IPkgDesc.getType()and theIPkgDesc.hasXxx()methods provided byIPkgDesc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetNameDisplay()Deprecated.Returns the display name of the Extra.java.lang.String[]getOldPaths()Deprecated.Returns an optional list of older paths for this extra package.-
Methods inherited from interface com.android.sdklib.repository.legacy.descriptors.IPkgDesc
getAndroidVersion, getBaseInstallId, getCanonicalInstallFolder, getDescriptionShort, getDescriptionUrl, getInstallId, getLicense, getListDescription, getListDisplay, getMinPlatformToolsRev, getMinToolsRev, getName, getPath, getRevision, getTag, getType, getVendor, hasAndroidVersion, hasMinPlatformToolsRev, hasMinToolsRev, hasPath, hasTag, hasVendor, isObsolete, isPreview, isUpdateFor, isUpdateFor
-
-
-
-
Method Detail
-
getOldPaths
@NonNull java.lang.String[] getOldPaths()
Deprecated.Returns an optional list of older paths for this extra package.- Returns:
- A non-null, possibly empty, for old paths previously used for the same extra.
-
getNameDisplay
@NonNull java.lang.String getNameDisplay()
Deprecated.Returns the display name of the Extra.- Returns:
- A non-null name for the Extra, used for display purposes.
-
-