Class RenderThread

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      RenderThread​(com.banuba.sdk.effect_player.EffectPlayer effectPlayer, android.util.Size drawSize, RecordingListener recordingListener)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected RenderHandler constructHandler()  
      void handleProcessImage​(com.banuba.sdk.types.FullImageData image)  
      void handleProcessPhoto​(com.banuba.sdk.types.FullImageData image)  
      void handleStartEditingImage​(com.banuba.sdk.types.FullImageData image)  
      protected void initWatermarkIfNeeded​(WatermarkInfo watermarkInfo)  
      protected void postRunClear()  
      protected void preRunInit()  
      protected void releaseWatermark()  
      void setDrawSize​(int width, int height)  
      void shutdown()
      Shuts everything down.
      protected void updateWatermark​(java.lang.Integer surfaceWidth, java.lang.Integer surfaceHeight)  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RenderThread

        public RenderThread​(com.banuba.sdk.effect_player.EffectPlayer effectPlayer,
                            @NonNull
                            android.util.Size drawSize,
                            RecordingListener recordingListener)
    • Method Detail

      • handleProcessPhoto

        public void handleProcessPhoto​(com.banuba.sdk.types.FullImageData image)
      • initWatermarkIfNeeded

        protected void initWatermarkIfNeeded​(WatermarkInfo watermarkInfo)
      • updateWatermark

        protected void updateWatermark​(java.lang.Integer surfaceWidth,
                                       java.lang.Integer surfaceHeight)
      • releaseWatermark

        protected void releaseWatermark()
      • handleProcessImage

        public void handleProcessImage​(com.banuba.sdk.types.FullImageData image)
      • handleStartEditingImage

        public void handleStartEditingImage​(com.banuba.sdk.types.FullImageData image)
      • setDrawSize

        public void setDrawSize​(int width,
                                int height)