Package org.robolectric.versioning
Class AndroidVersions.Sv2
java.lang.Object
org.robolectric.versioning.AndroidVersions.AndroidRelease
org.robolectric.versioning.AndroidVersions.AndroidReleased
org.robolectric.versioning.AndroidVersions.Sv2
- All Implemented Interfaces:
Comparable<AndroidVersions.AndroidRelease>
- Enclosing class:
- AndroidVersions
Release: 12.1
ShortCode: Sv2
SDK API Level: 32
release: true
ShortCode: Sv2
SDK API Level: 32
release: true
-
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.AndroidReleased
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
-
Sv2
public Sv2()
-
-
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
-