Package com.android.builder.core
Class DefaultApiVersion
java.lang.Object
com.android.builder.core.DefaultApiVersion
- All Implemented Interfaces:
com.android.builder.model.ApiVersion
Basic implementation of ApiVersion
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultApiVersion(int apiLevel) DefaultApiVersion(String codename) API version for a preview Android Version. -
Method Summary
-
Constructor Details
-
DefaultApiVersion
public DefaultApiVersion(int apiLevel) -
DefaultApiVersion
API version for a preview Android Version.Preview versions will have their true api level, i.e. the same as the previous stable version.
-
-
Method Details
-
create
-
getApiLevel
public int getApiLevel()- Specified by:
getApiLevelin interfacecom.android.builder.model.ApiVersion
-
getCodename
- Specified by:
getCodenamein interfacecom.android.builder.model.ApiVersion
-
getApiString
- Specified by:
getApiStringin interfacecom.android.builder.model.ApiVersion
-
equals
-
hashCode
public int hashCode() -
toString
-