Package com.banuba.sdk.internal.threads
Class SimpleThreadHandler
java.lang.Object
android.os.Handler
com.banuba.sdk.internal.WeakHandler<SimpleThread>
com.banuba.sdk.internal.threads.SimpleThreadHandler
Simple thread handler. Works with SimpleThread
-
Nested Class Summary
Nested classes/interfaces inherited from class android.os.Handler
android.os.Handler.Callback -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(android.os.Message msg) voidsendRunnable(Runnable runnable) Add the task to the queuevoidShutdown the threadMethods inherited from class com.banuba.sdk.internal.WeakHandler
getThreadMethods inherited from class android.os.Handler
createAsync, createAsync, dispatchMessage, dump, getLooper, getMessageName, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
-
Method Details
-
sendShutdown
public void sendShutdown()Shutdown the thread -
sendRunnable
Add the task to the queue -
handleMessage
public void handleMessage(android.os.Message msg) - Overrides:
handleMessagein classandroid.os.Handler
-