public enum AndroidMinSdk
- Object
- Enum<AndroidMinSdk>
- AndroidMinSdk
ImplementsComparable<AndroidMinSdk>
The Android API level an app runs on at the lowest.
A closed set rather than an int, because this is not an arbitrary number:
it is the platform floor the build supports, the builder parses it and
compares it against real thresholds – multidex below 21, Android Auto below
23 – and a level outside this range is a typo rather than a choice.
The build server raises it on its own where a feature demands more, so
picking a low level here is a floor and not a promise: adding Android Auto to
a project pinned at API_19 builds at 23.
A level not listed is not a dead end. The properties file takes
codename1.arg.android.min_sdk_version unchanged, which is the escape hatch
for a platform newer than this framework build knows about.
Enum constants
DEFAULT | Say nothing, and let the build server apply its own default. |
API_19 | Android API level 19. |
API_20 | Android API level 20. |
API_21 | Android API level 21. |
API_22 | Android API level 22. |
API_23 | Android API level 23. |
API_24 | Android API level 24. |
API_25 | Android API level 25. |
API_26 | Android API level 26. |
API_27 | Android API level 27. |
API_28 | Android API level 28. |
API_29 | Android API level 29. |
API_30 | Android API level 30. |
API_31 | Android API level 31. |
API_32 | Android API level 32. |
API_33 | Android API level 33. |
API_34 | Android API level 34. |
API_35 | Android API level 35. |
API_36 | Android API level 36. |
Methods
public static AndroidMinSdk[] values() | |
public static AndroidMinSdk valueOf(String name) |
Inherited methods
Enum constant details
DEFAULT
DEFAULTAPI_19
API_19API_20
API_20API_21
API_21API_22
API_22API_23
API_23API_24
API_24API_25
API_25API_26
API_26API_27
API_27API_28
API_28API_29
API_29API_30
API_30API_31
API_31API_32
API_32API_33
API_33API_34
API_34API_35
API_35API_36
API_36Method details
values
public static AndroidMinSdk[] values()valueOf
public static AndroidMinSdk valueOf(String name)