ApkPlugin

interface ApkPlugin : DexPlugin

Apk插件,apk文件被加载后会生成接口对象.

Author

M8Test, [email protected], https://m8test.com

Inheritors

Functions

Link copied to clipboard
abstract fun getApplication(): Application

获取 android 的 Application 对象.

Link copied to clipboard

获取插件的类加载器.

Link copied to clipboard
abstract fun getPackageInfo(): PackageInfo

获取 apk 插件的 PackageInfo 对象.

Link copied to clipboard

获取 apk 插件的 ApkPluginInfo 对象.

Link copied to clipboard
abstract fun getResources(): Resources

获取 apk 插件的 Resources 对象.