Package com.banuba.sdk.offscreen
Class OffscreenEffectPlayerConfig
- java.lang.Object
-
- com.banuba.sdk.offscreen.OffscreenEffectPlayerConfig
-
public class OffscreenEffectPlayerConfig extends java.lang.Object
Encapsulates info about Offscreen Effect Player (OffscreenEffectPlayer
) Configuration (Full).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OffscreenEffectPlayerConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.banuba.sdk.effect_player.RealtimeProcessorMode
getRealtimeProcessorMode()
Return realtime processor mode.OffscreenSimpleConfig
getSimpleConfig()
ReturnOffscreenSimpleConfig
instance based onEffectPlayerConfiguration
parameters.boolean
getUseFutureFrameFilter()
Return is the future frame filter used.static OffscreenEffectPlayerConfig.Builder
newBuilder(android.util.Size size, BufferAllocator allocator)
Create newOffscreenEffectPlayerConfig.Builder
instance.
-
-
-
Method Detail
-
getRealtimeProcessorMode
public com.banuba.sdk.effect_player.RealtimeProcessorMode getRealtimeProcessorMode()
Return realtime processor mode.- Returns:
RealtimeProcessorMode
.
-
getUseFutureFrameFilter
public boolean getUseFutureFrameFilter()
Return is the future frame filter used.- Returns:
- the boolean flag.
-
getSimpleConfig
@NonNull public OffscreenSimpleConfig getSimpleConfig()
ReturnOffscreenSimpleConfig
instance based onEffectPlayerConfiguration
parameters.- Returns:
OffscreenSimpleConfig
instance.
-
newBuilder
public static OffscreenEffectPlayerConfig.Builder newBuilder(@NonNull android.util.Size size, @Nullable BufferAllocator allocator)
Create newOffscreenEffectPlayerConfig.Builder
instance.- Parameters:
size
- theSize
thatOffscreenEffectPlayer
uses for drawing.allocator
-BufferAllocator
instance.- Returns:
OffscreenEffectPlayerConfig.Builder
instance.
-
-