Class OffscreenSimpleConfig

java.lang.Object
com.banuba.sdk.offscreen.OffscreenSimpleConfig

@Deprecated public final class OffscreenSimpleConfig extends Object
Deprecated.
The com.banuba.sdk.offscreen package is deprecated. Use PlayerAPI instead.
Encapsulates info about Offscreen Effect Player (OffscreenEffectPlayer) Configuration (Simple version).
  • Method Details

    • getBufferAllocator

      @Nullable public BufferAllocator getBufferAllocator()
      Deprecated.
      Return buffer allocator.
      Returns:
      BufferAllocator.
    • getRealtimeProcessorMode

      public com.banuba.sdk.effect_player.RealtimeProcessorMode getRealtimeProcessorMode()
      Deprecated.
      Return the realtime processor mode.
      Returns:
      RealtimeProcessorMode.
    • getUseFutureFrameFilter

      public boolean getUseFutureFrameFilter()
      Deprecated.
      Return is the future frame filter used.
      Returns:
      the boolean flag.
    • isSaveFrame

      public boolean isSaveFrame(int frameNum)
      Deprecated.
      Is frame need to be saved.
      Parameters:
      frameNum - frame number.
      Returns:
      saving status.
    • newBuilder

      public static OffscreenSimpleConfig.Builder newBuilder(@Nullable BufferAllocator allocator)
      Deprecated.
      Create new OffscreenSimpleConfig.Builder instance.
      Parameters:
      allocator - BufferAllocator instance.
      Returns:
      OffscreenSimpleConfig.Builder instance.