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.Baklava, AndroidVersions.Unbound
Enclosing class:
AndroidVersions

public abstract static class AndroidVersions.AndroidUnreleased extends AndroidVersions.AndroidRelease
An in-development version of Android
  • Constructor Details

    • AndroidUnreleased

      public AndroidUnreleased()
  • 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 class AndroidVersions.AndroidRelease