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 TypeMethodDescriptionvoid
handleMessage
(android.os.Message msg) void
sendRunnable
(Runnable runnable) Add the task to the queuevoid
Shutdown the threadMethods inherited from class com.banuba.sdk.internal.WeakHandler
getThread
Methods 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:
handleMessage
in classandroid.os.Handler
-