接口 XposedModuleInterface.PackageLoadedParam

所有已知子接口:
XposedModuleInterface.PackageReadyParam
封闭接口:
XposedModuleInterface

public static interface XposedModuleInterface.PackageLoadedParam
Wraps information about the package being loaded. This information only indicates the state at the time of loading and will not be updated.
  • 方法详细资料

    • getPackageName

      @NonNull String getPackageName()
      Gets the package name of the current package.
      返回:
      The package name.
    • getApplicationInfo

      @NonNull ApplicationInfo getApplicationInfo()
      Gets the ApplicationInfo of the current package.
      返回:
      The ApplicationInfo.
    • isFirstPackage

      boolean isFirstPackage()
      Returns whether this is the first and main package loaded in the process.
      返回:
      true if this is the first package.
    • getDefaultClassLoader

      @RequiresApi(29) @NonNull ClassLoader getDefaultClassLoader()
      Gets the default classloader of the current package. This is the classloader that loads the package's code, resources and custom AppComponentFactory.