接口 XposedModuleInterface.PackageLoadedParam
- 封闭接口:
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.
-
方法概要
修饰符和类型方法说明Gets 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.
-
方法详细资料
-
getPackageName
Gets the package name of the current package.- 返回:
- The package name.
-
getApplicationInfo
Gets theApplicationInfoof the current package.- 返回:
- The ApplicationInfo.
-
isFirstPackage
boolean isFirstPackage()Returns whether this is the first and main package loaded in the process.- 返回:
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.
-