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

      Nested Classes 
      Modifier and Type Interface Description
      static class  ISystemImage.LocationType
      Indicates the type of location for the system image folder in the SDK.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String WEAR_CN_DIRECTORY
      A 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.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.nio.file.Path getLocation()
      Returns the actual location of an installed system image.
      com.android.repository.Revision getRevision()
      Returns the revision of this system image.
      java.nio.file.Path[] getSkins()
      Returns the skins embedded in the system image.
      IdDisplay getTag()
      Returns the tag of the system image.
      boolean hasPlayStore()
      Returns true if this system image supports Google Play Store.
      boolean obsolete()
      Returns true if this system image is obsolete.
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • 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. See Abi for a full list. Cannot be null nor 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.
      • obsolete

        boolean obsolete()
        Returns true if this system image is obsolete.
      • hasPlayStore

        boolean hasPlayStore()
        Returns true if this system image supports Google Play Store.