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
Enclosing class:
AndroidVersions

public abstract static class AndroidVersions.AndroidReleased extends AndroidVersions.AndroidRelease
A released version of Android
  • 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 class AndroidVersions.AndroidRelease