Added in API level 34
ApplicationRuntime
class ApplicationRuntime
kotlin.Any | |
↳ | dalvik.system.ApplicationRuntime |
Provides APIs to retrieve the information about the application loaded in the current runtime.
Summary
Public methods | |
---|---|
static DexFile.OptimizationInfo |
Returns the optimization status of the base APK loaded in this process. |
Public methods
getBaseApkOptimizationInfo
Added in API level 34
static fun getBaseApkOptimizationInfo(): DexFile.OptimizationInfo
Returns the optimization status of the base APK loaded in this process. If no base APK has been loaded in this process, this methods returns an object, but the contents are undefined.
Return | |
---|---|
DexFile.OptimizationInfo |
This value cannot be null . |