Added in API level 34

ApplicationRuntime

public final class ApplicationRuntime
extends Object

java.lang.Object
   ↳ dalvik.system.ApplicationRuntime


Provides APIs to retrieve the information about the application loaded in the current runtime.

Summary

Public methods

static DexFile.OptimizationInfo getBaseApkOptimizationInfo()

Returns the optimization status of the base APK loaded in this process.

Inherited methods

Public methods

getBaseApkOptimizationInfo

Added in API level 34
public static DexFile.OptimizationInfo getBaseApkOptimizationInfo ()

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.

Returns
DexFile.OptimizationInfo This value cannot be null.