checkApiLevel

fun checkApiLevel(requiredApiLevel: Int): Boolean(source)

Returns true if the current RUNNING Mimic API level is equal or higher than requiredApiLevel, otherwise false.

// Specify here the version required for APIs you use.
if (!MimicApiLevel.checkApiLevel(MimicApiLevel.VERSION_0_6)) {
println("At least Mimic 0.6 is required. Please download it from {link here}")
}