Package com.android.sdklib
Interface ISystemImage
-
- All Superinterfaces:
java.lang.Comparable<ISystemImage>
- All Known Implementing Classes:
SystemImage
public interface ISystemImage extends java.lang.Comparable<ISystemImage>
Describes a system image as used by anIAndroidTarget. A system image has an installation path, a location type and an ABI type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classISystemImage.LocationTypeIndicates the type of location for the system image folder in the SDK.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringWEAR_CN_DIRECTORYA Wear-for-China image must reside in a directory that includes this string in its path.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAbiType()Returns the ABI type.IdDisplaygetAddonVendor()Returns the vendor for an add-on's system image, or null for a platform system-image.com.android.sdklib.AndroidVersiongetAndroidVersion()Returns theAndroidVersionof this system image.java.nio.file.PathgetLocation()Returns the actual location of an installed system image.com.android.repository.RevisiongetRevision()Returns the revision of this system image.java.nio.file.Path[]getSkins()Returns the skins embedded in the system image.IdDisplaygetTag()Returns the tag of the system image.booleanhasPlayStore()Returns true if this system image supports Google Play Store.booleanobsolete()Returns true if this system image is obsolete.
-
-
-
Field Detail
-
WEAR_CN_DIRECTORY
static final java.lang.String WEAR_CN_DIRECTORY
A Wear-for-China image must reside in a directory that includes this string in its path.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLocation
@NonNull java.nio.file.Path getLocation()
Returns the actual location of an installed system image.
-
getTag
@NonNull IdDisplay getTag()
Returns the tag of the system image.
-
getAddonVendor
@Nullable IdDisplay getAddonVendor()
Returns the vendor for an add-on's system image, or null for a platform system-image.
-
getAbiType
@NonNull java.lang.String getAbiType()
Returns the ABI type. SeeAbifor a full list. Cannot be null nor empty.
-
getSkins
@NonNull java.nio.file.Path[] getSkins()
Returns the skins embedded in the system image.
Only supported by system images usingISystemImage.LocationType.IN_SYSTEM_IMAGE.
The skins listed here are merged in theIAndroidTarget.getSkins()list.- Returns:
- A non-null skin list, possibly empty.
-
getRevision
@NonNull com.android.repository.Revision getRevision()
Returns the revision of this system image.
-
getAndroidVersion
@NonNull com.android.sdklib.AndroidVersion getAndroidVersion()
Returns theAndroidVersionof this system image.
-
obsolete
boolean obsolete()
Returns true if this system image is obsolete.
-
hasPlayStore
boolean hasPlayStore()
Returns true if this system image supports Google Play Store.
-
-