@Implements(value=android.os.MessageQueue.class, isInAndroidSdk=false, looseSignatures=true) public class ShadowPausedMessageQueue extends ShadowMessageQueue
LooperMode.Mode.PAUSED
This class should not be referenced directly. Use ShadowMessageQueue instead.
ShadowMessageQueue.Picker| Constructor | Description |
|---|---|
ShadowPausedMessageQueue() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
__constructor__(boolean quitAllowed) |
|
Message |
getHead() |
Retrieves the current Message at the top of the queue.
|
Scheduler |
getScheduler() |
Return this queue's Scheduler.
|
int |
internalGetSize() |
Internal method to get the number of entries in the MessageQueue.
|
boolean |
isIdle() |
Exposes the API23+_isIdle method to older platforms
|
protected void |
nativeDestroy() |
|
protected static void |
nativeDestroy(int ptr) |
|
protected static void |
nativeDestroy(long ptr) |
|
protected static boolean |
nativeIsPolling(long ptr) |
|
protected void |
nativePollOnce(int ptr,
int timeoutMillis) |
|
protected void |
nativePollOnce(long ptr,
int timeoutMillis) |
|
protected static void |
nativePollOnce(Object ptr,
Object timeoutMillis) |
|
protected void |
nativeWake(int ptr) |
|
protected static void |
nativeWake(long ptr) |
|
protected static void |
nativeWake(Object ptr) |
|
void |
reset() |
Reset the messageQueue state.
|
void |
setHead(Message msg) |
Sets the current Message at the top of the queue.
|
void |
setScheduler(Scheduler scheduler) |
Set this queue's Scheduler.
|
@Implementation protected void __constructor__(boolean quitAllowed)
@Implementation(maxSdk=17) protected void nativeDestroy()
@Implementation(minSdk=18, maxSdk=19) protected static void nativeDestroy(int ptr)
@Implementation(minSdk=20) protected static void nativeDestroy(long ptr)
@Implementation(maxSdk=17) protected void nativePollOnce(int ptr, int timeoutMillis)
@Implementation(minSdk=18, maxSdk=22) protected static void nativePollOnce(Object ptr, Object timeoutMillis)
@Implementation(minSdk=23) protected void nativePollOnce(long ptr, int timeoutMillis)
@Implementation(maxSdk=17) protected void nativeWake(int ptr)
@Implementation(minSdk=18, maxSdk=19) protected static void nativeWake(Object ptr)
@Implementation(minSdk=20) protected static void nativeWake(long ptr)
@Implementation(minSdk=23) protected static boolean nativeIsPolling(long ptr)
@Implementation(minSdk=23) public boolean isIdle()
public int internalGetSize()
Do not use, will likely be removed in a future release.
public void reset()
ShadowMessageQueuereset in class ShadowMessageQueuepublic Scheduler getScheduler()
ShadowMessageQueueOnly supported in LooperMode.Mode.LEGACY.
getScheduler in class ShadowMessageQueuepublic void setScheduler(Scheduler scheduler)
ShadowMessageQueueOnly supported in LooperMode.Mode.LEGACY.
setScheduler in class ShadowMessageQueuepublic Message getHead()
ShadowMessageQueueOnly supported in LooperMode.Mode.LEGACY.
getHead in class ShadowMessageQueuepublic void setHead(Message msg)
ShadowMessageQueueOnly supported in LooperMode.Mode.LEGACY.
setHead in class ShadowMessageQueue