Class OffscreenPlayerThread

All Implemented Interfaces:
Runnable

@Deprecated public class OffscreenPlayerThread extends BaseWorkThread<OffscreenPlayerHandler>
Deprecated.
The com.banuba.sdk.offscreen package is deprecated. Use PlayerAPI instead.
  • Constructor Details

    • OffscreenPlayerThread

      public OffscreenPlayerThread(@NonNull android.content.Context context, @NonNull OffscreenEffectPlayerConfig config, @NonNull String key)
      Deprecated.
    • OffscreenPlayerThread

      public OffscreenPlayerThread(@NonNull android.content.Context context, @NonNull com.banuba.sdk.effect_player.EffectPlayer player, @NonNull android.util.Size size, @NonNull OffscreenSimpleConfig config)
      Deprecated.
  • Method Details

    • constructHandler

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

      protected void preRunInit()
      Deprecated.
      Overrides:
      preRunInit in class BaseWorkThread<OffscreenPlayerHandler>
    • postRunClear

      protected void postRunClear()
      Deprecated.
      Overrides:
      postRunClear in class BaseWorkThread<OffscreenPlayerHandler>
    • handleLoadEffect

      public void handleLoadEffect(@NonNull String effectName)
      Deprecated.
    • handleLoadEffect

      public void handleLoadEffect(@NonNull String effectName, boolean async)
      Deprecated.
    • handleImageProcess

      public void handleImageProcess(@NonNull android.media.Image image, @NonNull ImageOrientation imageOrientation, @NonNull OEPImageFormat outputImageFormat, long timestamp)
      Deprecated.
    • handleFullImageData

      public void handleFullImageData(@NonNull com.banuba.sdk.types.FullImageData data, @Nullable ReleaseCallback callback, @NonNull OEPImageFormat outputImageFormat, long timestamp)
      Deprecated.
    • handleUnloadEffect

      public void handleUnloadEffect()
      Deprecated.
    • handleCallJsMethod

      public void handleCallJsMethod(@NonNull String method, @NonNull String parameter)
      Deprecated.
    • handleEvalJs

      public void handleEvalJs(@NonNull String script, @Nullable com.banuba.sdk.effect_player.JsCallback resultCallback)
      Deprecated.
    • handleSetListener

      public void handleSetListener(@Nullable ImageProcessedListener listener, @Nullable android.os.Handler handler)
      Deprecated.
    • handleSetSurface

      public void handleSetSurface(@Nullable android.graphics.SurfaceTexture surfaceTexture)
      Deprecated.
    • handlePlaybackPlay

      public void handlePlaybackPlay()
      Deprecated.
    • handlePlaybackPause

      public void handlePlaybackPause()
      Deprecated.
    • handlePlaybackStop

      public void handlePlaybackStop()
      Deprecated.
    • enableAudio

      public void enableAudio(boolean enable)
      Deprecated.