Package org.webrtc

Class ThreadUtils.ThreadChecker

java.lang.Object
org.webrtc.ThreadUtils.ThreadChecker
Enclosing class:
ThreadUtils

public static class ThreadUtils.ThreadChecker extends Object
Utility class to be used for checking that a method is called on the correct thread.
  • Field Details

    • thread

      @Nullable private Thread thread
  • Constructor Details

    • ThreadChecker

      public ThreadChecker()
  • Method Details

    • checkIsOnValidThread

      public void checkIsOnValidThread()
    • detachThread

      public void detachThread()