public static interface DetailsTypes.ApiDetailsType
| Modifier and Type | Method and Description |
|---|---|
default com.android.sdklib.AndroidVersion |
getAndroidVersion()
Convenience method to create an
AndroidVersion with the information from the given
DetailsTypes.ApiDetailsType. |
int |
getApiLevel()
Gets the api level of this package.
|
java.lang.String |
getCodename()
Gets the codename of this release.
|
void |
setApiLevel(int apiLevel)
Sets the api level this package corresponds to.
|
void |
setCodename(java.lang.String codename)
If this is a preview release the api is identified by a codename in addition to the api
level.
|
@NonNull default com.android.sdklib.AndroidVersion getAndroidVersion()
AndroidVersion with the information from the given
DetailsTypes.ApiDetailsType.void setApiLevel(int apiLevel)
int getApiLevel()
void setCodename(@Nullable
java.lang.String codename)
codename should be non-null.java.lang.String getCodename()
null for regular releases, and non-
null for preview releases.