Package org.robolectric.versioning
Class AndroidVersions.V
java.lang.Object
org.robolectric.versioning.AndroidVersions.AndroidRelease
org.robolectric.versioning.AndroidVersions.AndroidUnreleased
org.robolectric.versioning.AndroidVersions.V
- All Implemented Interfaces:
Comparable<AndroidVersions.AndroidRelease>
- Enclosing class:
- AndroidVersions
Potential Release: 15.0
ShortCode: V
SDK API Level: 34+
release: false
ShortCode: V
SDK API Level: 34+
release: false
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
true if this release has already occurred, false otherwise.single character short code for the release, multiple characters for minor releases (only minor version numbers increment - usually within the same year).major.minor version number as String.Methods inherited from class org.robolectric.versioning.AndroidVersions.AndroidUnreleased
isReleased
Methods inherited from class org.robolectric.versioning.AndroidVersions.AndroidRelease
compareTo, toString
-
Field Details
-
SDK_INT
public static final int SDK_INT- See Also:
-
SHORT_CODE
- See Also:
-
VERSION
- See Also:
-
-
Constructor Details
-
V
public V()
-
-
Method Details
-
getSdkInt
public int getSdkInt()Description copied from class:AndroidVersions.AndroidRelease
true if this release has already occurred, false otherwise. If unreleased, the getSdkInt may still be that of the prior release.- Specified by:
getSdkInt
in classAndroidVersions.AndroidRelease
-
getShortCode
Description copied from class:AndroidVersions.AndroidRelease
single character short code for the release, multiple characters for minor releases (only minor version numbers increment - usually within the same year).- Specified by:
getShortCode
in classAndroidVersions.AndroidRelease
-
getVersion
Description copied from class:AndroidVersions.AndroidRelease
major.minor version number as String.- Specified by:
getVersion
in classAndroidVersions.AndroidRelease
-