Annotation Type Subscribe


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Documented
    public @interface Subscribe
    Marks a method as an event subscriber.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      float priority
      Priority relative to other event subscribers.
    • Element Detail

      • priority

        float priority
        Priority relative to other event subscribers. Higher priorities run first.
        Returns:
        Default:
        0.0f