Interface DetailsTypes.ApiDetailsType

    • Method Detail

      • getAndroidVersion

        @NonNull
        default com.android.sdklib.AndroidVersion getAndroidVersion()
        Convenience method to create an AndroidVersion with the information from the given DetailsTypes.ApiDetailsType.
      • setApiLevel

        void setApiLevel​(int apiLevel)
        Sets the api level this package corresponds to.
      • getApiLevel

        int getApiLevel()
        Gets the api level of this package.
      • setCodename

        void setCodename​(@Nullable
                         java.lang.String codename)
        If this is a preview release the api is identified by a codename in addition to the api level. In this case codename should be non-null.
      • getCodename

        java.lang.String getCodename()
        Gets the codename of this release. Should be null for regular releases, and non- null for preview releases.