Java android.os Looper fields, constructors, methods, implement or subclass

Example usage for Java android.os Looper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.os Looper.

The text is from its open source code.

Method

voiddump(@NonNull Printer pw, @NonNull String prefix)
Dumps the state of the looper for debugging purposes.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
LoopergetMainLooper()
Returns the application's main looper, which lives in the main thread of the application.
ThreadgetThread()
Gets the Thread associated with this Looper.
voidloop()
Run the message queue in this thread.
LoopermyLooper()
Return the Looper object associated with the current thread.
MessageQueuemyQueue()
Return the MessageQueue object associated with the current thread.
voidprepare()
Initialize the current thread as a looper.
voidquit()
Quits the looper.
voidquitSafely()
Quits the looper safely.