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.
  • Field Details

  • Constructor Details

    • Chain

      public Chain(int maxPriority)
      Creates an instance of a Chain record class.
      Parameters:
      maxPriority - the value for the maxPriority record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • maxPriority

      public int maxPriority()
      Returns the value of the maxPriority record component.
      Returns:
      the value of the maxPriority record component