Package org.robolectric.versioning
Class AndroidVersions.AndroidUnreleased
java.lang.Object
org.robolectric.versioning.AndroidVersions.AndroidRelease
org.robolectric.versioning.AndroidVersions.AndroidUnreleased
- All Implemented Interfaces:
- Comparable<AndroidVersions.AndroidRelease>
- Direct Known Subclasses:
- AndroidVersions.Unbound,- AndroidVersions.V
- Enclosing class:
- AndroidVersions
public abstract static class AndroidVersions.AndroidUnreleased
extends AndroidVersions.AndroidRelease
An in-development version of Android
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleantrue if this release has already occurred, false otherwise.Methods inherited from class org.robolectric.versioning.AndroidVersions.AndroidReleasecompareTo, getSdkInt, getShortCode, getVersion, toString
- 
Constructor Details- 
AndroidUnreleasedpublic AndroidUnreleased()
 
- 
- 
Method Details- 
isReleasedpublic boolean isReleased()Description copied from class:AndroidVersions.AndroidReleasetrue 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:
- isReleasedin class- AndroidVersions.AndroidRelease
 
 
-