-
public abstract class XCallback.ParamBase class for Xposed callback parameters.
-
-
Method Summary
Modifier and Type Method Description synchronized BundlegetExtra()This can be used to store any data for the scope of the callback. ObjectgetObjectExtra(String key)Returns an object stored with setObjectExtra. voidsetObjectExtra(String key, Object o)Stores any object for the scope of the callback. -
-
Method Detail
-
getExtra
synchronized Bundle getExtra()
This can be used to store any data for the scope of the callback.
Use this instead of instance variables, as it has a clear reference to e.g. eachseparate call to a method, even when the same method is called recursively.
-
getObjectExtra
Object getObjectExtra(String key)
Returns an object stored with setObjectExtra.
-
setObjectExtra
void setObjectExtra(String key, Object o)
-
-
-
-