Package 

Class XCallback.Param


  • 
    public abstract class XCallback.Param
    
                        

    Base class for Xposed callback parameters.

    • Method Summary

      Modifier and Type Method Description
      synchronized Bundle getExtra() This can be used to store any data for the scope of the callback.
      Object getObjectExtra(String key) Returns an object stored with setObjectExtra.
      void setObjectExtra(String key, Object o) Stores any object for the scope of the callback.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.