com.android.sdklib.internal.repository.packages
Interface IPlatformDependency
- All Known Implementing Classes:
- AddonPackage, SystemImagePackage
public interface IPlatformDependency
Interface used to decorate a Package that has a dependency
on a specific platform (API level and/or code name).
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.
Note that although this interface looks like IAndroidVersionProvider, it does
not convey the same semantic since IAndroidVersionProvider does not
imply any dependency being a limiting factor as far as installation is concerned.
getAndroidVersion
AndroidVersion getAndroidVersion()
- Returns the version of the platform dependency of this package.