apiLevels

abstract val apiLevels: ListProperty<Int>

The API levels to capture on, one at a time, one Gradle-managed emulator each. Default [29, 31, 34, 36]: either side of the levels where Compose's rendering is known to branch (RenderEffect at 31, non-linear font scaling at 34), and no lower than a managed device can capture. A level below 29 needs an emulator started by hand; see docs/android-matrix.md.

24 is the floor. From 26 a capture is captureToImage() (PixelCopy of the window); on 24 and 25, which have no PixelCopy, it is a screenshot of the display cut down to the fixture. -PviddikMatrix.apiLevels=34,36 overrides this for one run.