checkApiLevel
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}")
}
Content copied to clipboard