public static abstract class

XCallback.Param

extends Object
java.lang.Object
   ↳ de.robv.android.xposed.callbacks.XCallback.Param
Known Direct Subclasses

Class Overview

Base class for Xposed callback parameters.

Summary

Protected Constructors
XCallback.Param()
This constructor is deprecated. This constructor can't be hidden for technical reasons. Nevertheless, don't use it!
Public Methods
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(String, Object).
void setObjectExtra(String key, Object o)
Stores any object for the scope of the callback.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected XCallback.Param ()

This constructor is deprecated.
This constructor can't be hidden for technical reasons. Nevertheless, don't use it!

Public Methods

public Bundle getExtra ()

Added in API level 39

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. each separate call to a method, even when the same method is called recursively.

public Object getObjectExtra (String key)

Returns an object stored with setObjectExtra(String, Object).

public void setObjectExtra (String key, Object o)

Stores any object for the scope of the callback. For data types that support it, use the Bundle returned by getExtra() instead.