public abstract class

XCallback

extends Object
implements Comparable<XCallback>
java.lang.Object
   ↳ de.robv.android.xposed.callbacks.XCallback
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Base class for Xposed callbacks. This class only keeps a priority for ordering multiple callbacks. The actual (abstract) callback methods are added by subclasses.

Summary

Nested Classes
class XCallback.Param Base class for Xposed callback parameters. 
Constants
int PRIORITY_DEFAULT The default priority, see priority.
int PRIORITY_HIGHEST Execute this callback early, see priority.
int PRIORITY_LOWEST Execute this callback late, see priority.
Fields
public final int priority Callback priority, higher number means earlier execution.
Public Constructors
XCallback()
This constructor is deprecated. This constructor can't be hidden for technical reasons. Nevertheless, don't use it!
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Comparable

Constants

public static final int PRIORITY_DEFAULT

The default priority, see priority.

Constant Value: 50 (0x00000032)

public static final int PRIORITY_HIGHEST

Execute this callback early, see priority.

Constant Value: 10000 (0x00002710)

public static final int PRIORITY_LOWEST

Execute this callback late, see priority.

Constant Value: -10000 (0xffffd8f0)

Fields

public final int priority

Callback priority, higher number means earlier execution.

This is usually set to PRIORITY_DEFAULT. However, in case a certain callback should be executed earlier or later a value between PRIORITY_HIGHEST and PRIORITY_LOWEST can be set instead. The values are just for orientation though, Xposed doesn't enforce any boundaries on the priority values.

Public Constructors

public XCallback ()

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