Package io.github.libxposed.api
Interface XposedModuleInterface.HotReloadedParam
- All Superinterfaces:
XposedModuleInterface.ModuleLoadedParam
- Enclosing interface:
XposedModuleInterface
@SinceApi(102)
public static interface XposedModuleInterface.HotReloadedParam
extends XposedModuleInterface.ModuleLoadedParam
Wraps information about the hot reloaded event.
-
Method Summary
Modifier and TypeMethodDescriptionGets the data passed from the module app when triggering hot reload.Gets a list of hook handles created by the previous generation of this module.Gets the data set inXposedModuleInterface.HotReloadingParam.setSavedInstanceState(Object).Methods inherited from interface io.github.libxposed.api.XposedModuleInterface.ModuleLoadedParam
getProcessName, isSystemServer
-
Method Details
-
getExtras
Gets the data passed from the module app when triggering hot reload. This can be null if the app passesnullor the hot reload is triggered by app updating. -
getSavedInstanceState
Gets the data set inXposedModuleInterface.HotReloadingParam.setSavedInstanceState(Object). -
getOldHookHandles
Gets a list of hook handles created by the previous generation of this module. The new code can choose to remove or atomically replace these hooks with new ones throughXposedInterface.HookHandle.replaceHook(XposedInterface.Hooker).
-