Interface XposedModuleInterface.PackageLoadedParam

All Known Subinterfaces:
XposedModuleInterface.PackageReadyParam
Enclosing interface:
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.
  • Method Details

    • getPackageName

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

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

      boolean isFirstPackage()
      Returns whether this is the first and main package loaded in the process.
      Returns:
      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.