@Target(value=METHOD)
@Retention(value=RUNTIME)
public static @interface Events.Failure
Method marked with this annotation will receive failure callbacks for events with specified key on main thread.
Allowed method parameters
method()
method(Event
)
method(Event
, Throwable
)
method(Event
, EventFailure
)
method(Throwable
)
method(EventFailure
)
Note: You may skip event key to handle all failures of all events.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value |