Added in API level 34

OptimizationInfo

class OptimizationInfo
kotlin.Any
   ↳ dalvik.system.DexFile.OptimizationInfo

Encapsulates information about the optimizations performed on a dex file. Note that the info is only meant for debugging and is not guaranteed to be stable across releases and/or devices.

Summary

Public methods
Boolean

Returns whether the dex file is fully ahead-of-time compiled.

Boolean

Returns whether the dex file is in an optimal state.

Boolean

Returns whether the dex file is verified.

Public methods

isFullyCompiled

Added in API level 34
fun isFullyCompiled(): Boolean

Returns whether the dex file is fully ahead-of-time compiled.

isOptimized

Added in API level 34
fun isOptimized(): Boolean

Returns whether the dex file is in an optimal state. Currently, this means the dex file is either ahead-of-time compiled with a profile or fully ahead-of-time compiled.

isVerified

Added in API level 34
fun isVerified(): Boolean

Returns whether the dex file is verified.