Class | Description |
---|---|
Event | |
Event.Builder | |
EventFailure | |
EventResult | |
EventResult.Builder | |
Events |
Entry point to event bus registration and posting.
|
Enum | Description |
---|---|
EventStatus |
Exception | Description |
---|---|
EventsException |
Annotation Type | Description |
---|---|
Events.Background |
Method marked with this annotation will receive events on background thread.
|
Events.Cache |
Method marked with this annotation will use new instance of given
CacheProvider
class to handle results caching. |
Events.Failure |
Method marked with this annotation will receive failure callbacks for events
with specified key on main thread.
|
Events.Result |
Method marked with this annotation will receive results for events
with specified key on main thread.
Result can be accessed either directly as method's parameter or through EventResult object. |
Events.Status |
Method marked with this annotation will receive status updates for events
with specified key on main thread.
STARTED status will be sent before any subscribed method is executed
(right after event is posted to the bus) and for all newly registered events receivers
if execution of all subscribed methods is no yet finished.
FINISHED status will be sent after all subscribed methods
(including background) are executed.
|
Events.Subscribe |
Method marked with this annotation will receive events with specified key on main thread.
|