Package com.banuba.sdk.offscreen
Class OffscreenSimpleConfig
- java.lang.Object
-
- com.banuba.sdk.offscreen.OffscreenSimpleConfig
-
public final class OffscreenSimpleConfig extends java.lang.Object
Encapsulates info about Offscreen Effect Player (OffscreenEffectPlayer
) Configuration (Simple version).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OffscreenSimpleConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferAllocator
getBufferAllocator()
Return buffer allocator.com.banuba.sdk.effect_player.RealtimeProcessorMode
getRealtimeProcessorMode()
Return the realtime processor mode.boolean
getUseFutureFrameFilter()
Return is the future frame filter used.boolean
isSaveFrame(int frameNum)
Is frame need to be saved.static OffscreenSimpleConfig.Builder
newBuilder(BufferAllocator allocator)
Create newOffscreenSimpleConfig.Builder
instance.
-
-
-
Method Detail
-
getBufferAllocator
@Nullable public BufferAllocator getBufferAllocator()
Return buffer allocator.- Returns:
BufferAllocator
.
-
getRealtimeProcessorMode
public com.banuba.sdk.effect_player.RealtimeProcessorMode getRealtimeProcessorMode()
Return the realtime processor mode.- Returns:
RealtimeProcessorMode
.
-
getUseFutureFrameFilter
public boolean getUseFutureFrameFilter()
Return is the future frame filter used.- Returns:
- the boolean flag.
-
isSaveFrame
public boolean isSaveFrame(int frameNum)
Is frame need to be saved.- Parameters:
frameNum
- frame number.- Returns:
- saving status.
-
newBuilder
public static OffscreenSimpleConfig.Builder newBuilder(@Nullable BufferAllocator allocator)
Create newOffscreenSimpleConfig.Builder
instance.- Parameters:
allocator
-BufferAllocator
instance.- Returns:
OffscreenSimpleConfig.Builder
instance.
-
-