Package io.github.libxposed.api
Record Class XposedInterface.Invoker.Type.Chain
java.lang.Object
java.lang.Record
io.github.libxposed.api.XposedInterface.Invoker.Type.Chain
- Record Components:
maxPriority- The maximum priority of hooks to include in the chain
- All Implemented Interfaces:
XposedInterface.Invoker.Type
- Enclosing interface:
XposedInterface.Invoker.Type
public static record XposedInterface.Invoker.Type.Chain(int maxPriority)
extends Record
implements XposedInterface.Invoker.Type
Invokes the executable starting from the middle of the hook chain, skipping all
hooks with priority higher than the given value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.libxposed.api.XposedInterface.Invoker.Type
XposedInterface.Invoker.Type.Chain, XposedInterface.Invoker.Type.Origin -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XposedInterface.Invoker.Type.ChainInvoking the executable with full hook chain.Fields inherited from interface io.github.libxposed.api.XposedInterface.Invoker.Type
ORIGIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxPriorityrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
FULL
Invoking the executable with full hook chain.
-
-
Constructor Details
-
Chain
public Chain(int maxPriority) Creates an instance of aChainrecord class.- Parameters:
maxPriority- the value for themaxPriorityrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
maxPriority
public int maxPriority()Returns the value of themaxPriorityrecord component.- Returns:
- the value of the
maxPriorityrecord component
-