Class ShadowRollbackManager

java.lang.Object
org.robolectric.shadows.ShadowRollbackManager

@Implements(className="android.content.rollback.RollbackManager", minSdk=29, isInAndroidSdk=false) public final class ShadowRollbackManager extends Object
A Shadow for android.content.rollback.RollbackManager added in Android Q.
  • Constructor Details

    • ShadowRollbackManager

      public ShadowRollbackManager()
  • Method Details

    • addAvailableRollbacks

      public void addAvailableRollbacks(android.content.rollback.RollbackInfo rollbackInfo)
    • addRecentlyCommittedRollbacks

      public void addRecentlyCommittedRollbacks(android.content.rollback.RollbackInfo rollbackInfo)
    • getAvailableRollbacks

      @Implementation protected List<android.content.rollback.RollbackInfo> getAvailableRollbacks()
    • getRecentlyCommittedRollbacks

      @Implementation protected List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks()