Annotation Interface Subscribe


@Retention(RUNTIME) @Target(METHOD) public @interface Subscribe
Used to mark methods as event handlers.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The priority as far as order of dispatching is concerned.
  • Element Details

    • priority

      The priority as far as order of dispatching is concerned.
      Returns:
      the priority
      Default:
      NORMAL