Class SimpleThreadHandler

java.lang.Object
android.os.Handler
com.banuba.sdk.internal.WeakHandler<SimpleThread>
com.banuba.sdk.internal.threads.SimpleThreadHandler

public class SimpleThreadHandler extends WeakHandler<SimpleThread>
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 Type
    Method
    Description
    void
    handleMessage(android.os.Message msg)
     
    void
    Add the task to the queue
    void
    Shutdown the thread

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • sendShutdown

      public void sendShutdown()
      Shutdown the thread
    • sendRunnable

      public void sendRunnable(Runnable runnable)
      Add the task to the queue
    • handleMessage

      public void handleMessage(android.os.Message msg)
      Overrides:
      handleMessage in class android.os.Handler