com.android.sdklib.internal.repository.packages
Interface IMinApiLevelDependency
- All Known Implementing Classes:
- BrokenPackage, ExtraPackage, SamplePackage
public interface IMinApiLevelDependency
Interface used to decorate a Package that has a dependency
on a minimal API level, e.g. which XML has a <min-api-level> element.
A package that has this dependency can only be installed if a platform with at least the
requested API level is present or installed at the same time.
MIN_API_LEVEL_NOT_SPECIFIED
static final int MIN_API_LEVEL_NOT_SPECIFIED
- The value of
getMinApiLevel() when the RepoConstants.NODE_MIN_API_LEVEL
was not specified in the XML source.
- See Also:
- Constant Field Values
getMinApiLevel
int getMinApiLevel()
- Returns the minimal API level required by this package, if > 0,
or
MIN_API_LEVEL_NOT_SPECIFIED if there is no such requirement.