Package io.github.libxposed.api
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 Summary
Modifier and TypeMethodDescriptionGets theApplicationInfoof the current package.Gets the default classloader of the current package.Gets the package name of the current package.booleanReturns whether this is the first and main package loaded in the process.
-
Method Details
-
getPackageName
Gets the package name of the current package.- Returns:
- The package name.
-
getApplicationInfo
Gets theApplicationInfoof the current package.- Returns:
- The ApplicationInfo.
-
isFirstPackage
boolean isFirstPackage()Returns whether this is the first and main package loaded in the process.- Returns:
trueif this is the first package.
-
getDefaultClassLoader
Gets the default classloader of the current package. This is the classloader that loads the package's code, resources and customAppComponentFactory.
-