Class RenderThread

All Implemented Interfaces:
Runnable

public class RenderThread extends BaseWorkThread<RenderHandler>
  • Constructor Details

    • RenderThread

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

    • constructHandler

      @NonNull protected RenderHandler constructHandler()
      Specified by:
      constructHandler in class BaseWorkThread<RenderHandler>
    • preRunInit

      protected void preRunInit()
      Overrides:
      preRunInit in class BaseWorkThread<RenderHandler>
    • postRunClear

      protected void postRunClear()
      Overrides:
      postRunClear in class BaseWorkThread<RenderHandler>
    • shutdown

      public void shutdown()
      Shuts everything down.
      Overrides:
      shutdown in class BaseWorkThread<RenderHandler>
    • handleProcessPhoto

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

      protected void initWatermarkIfNeeded(WatermarkInfo watermarkInfo)
    • updateWatermark

      protected void updateWatermark(Integer surfaceWidth, 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)