Package org.robolectric.versioning
Class AndroidVersions.AndroidReleased
java.lang.Object
org.robolectric.versioning.AndroidVersions.AndroidRelease
org.robolectric.versioning.AndroidVersions.AndroidReleased
- All Implemented Interfaces:
Comparable<AndroidVersions.AndroidRelease>
- Direct Known Subclasses:
AndroidVersions.J
,AndroidVersions.JMR1
,AndroidVersions.JMR2
,AndroidVersions.K
,AndroidVersions.L
,AndroidVersions.LMR1
,AndroidVersions.M
,AndroidVersions.N
,AndroidVersions.NMR1
,AndroidVersions.O
,AndroidVersions.OMR1
,AndroidVersions.P
,AndroidVersions.Q
,AndroidVersions.R
,AndroidVersions.S
,AndroidVersions.Sv2
,AndroidVersions.T
,AndroidVersions.U
,AndroidVersions.V
- Enclosing class:
- AndroidVersions
A released version of Android
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
true if this release has already occurred, false otherwise.Methods inherited from class org.robolectric.versioning.AndroidVersions.AndroidRelease
compareTo, getSdkInt, getShortCode, getVersion, toString
-
Constructor Details
-
AndroidReleased
public AndroidReleased()
-
-
Method Details
-
isReleased
public boolean isReleased()Description copied from class:AndroidVersions.AndroidRelease
true if this release has already occurred, false otherwise. If unreleased, the getSdkInt will guess at the likely sdk number. Your code will need to recompile if this value changes - including most modern build tools; bazle, soong all are full build systems - and as such organizations using them have no concerns.- Specified by:
isReleased
in classAndroidVersions.AndroidRelease
-