Annotation Interface Subscribe


@Retention(RUNTIME) @Target(METHOD) public @interface Subscribe
An annotation used to signify the given method is an event. This should only be applied to methods where the class containing them is designated for events specifically.
  • Element Details

    • postOrder

      @NonNull PostOrder postOrder
      The PostOrder of the event
      Returns:
      the post order of the event
      Default:
      NORMAL
    • ignoreCancelled

      boolean ignoreCancelled
      Default:
      false