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 an IAndroidTarget. A system image has an installation path, a location type and an ABI type.


Nested Class Summary
static class ISystemImage.LocationType
          Indicates the type of location for the system image folder in the SDK.
 
Method Summary
 java.lang.String getAbiType()
          Returns the ABI type.
 IdDisplay getAddonVendor()
          Returns the vendor for an add-on's system image, or null for a platform system-image.
 com.android.sdklib.AndroidVersion getAndroidVersion()
          Returns the AndroidVersion of this system image.
 java.io.File getLocation()
          Returns the actual location of an installed system image.
 com.android.repository.Revision getRevision()
          Returns the revision of this system image.
 java.io.File[] getSkins()
          Returns the skins embedded in the system image.
 IdDisplay getTag()
          Returns the tag of the system image.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getLocation

@NonNull
java.io.File 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. See Abi for a full list. Cannot be null nor empty.


getSkins

@NonNull
java.io.File[] getSkins()
Returns the skins embedded in the system image.
Only supported by system images using ISystemImage.LocationType.IN_SYSTEM_IMAGE.
The skins listed here are merged in the IAndroidTarget.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 the AndroidVersion of this system image.