public class HandlerPoster
extends android.os.Handler
| Modifier | Constructor and Description |
|---|---|
protected |
HandlerPoster(EventBus eventBus,
android.os.Looper looper,
int maxMillisInsideHandleMessage) |
| Modifier and Type | Method and Description |
|---|---|
void |
enqueue(org.greenrobot.eventbus.Subscription subscription,
java.lang.Object event)
Enqueue an event to be posted for a particular subscription.
|
void |
handleMessage(android.os.Message msg) |
dispatchMessage, dump, getLooper, getMessageName, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toStringprotected HandlerPoster(EventBus eventBus, android.os.Looper looper, int maxMillisInsideHandleMessage)
public void enqueue(org.greenrobot.eventbus.Subscription subscription,
java.lang.Object event)
subscription - Subscription which will receive the event.event - Event that will be posted to subscribers.public void handleMessage(android.os.Message msg)
handleMessage in class android.os.HandlerAvailable under the Apache License, Version 2.0 - Copyright © 2012-2017 greenrobot.org. All Rights Reserved.