Package com.banuba.sdk.scene
Class CameraComposer.CppProxy
java.lang.Object
com.banuba.sdk.scene.CameraComposer.CppProxy
- All Implemented Interfaces:
CameraComposer
- Enclosing interface:
- CameraComposer
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.CameraComposer
CameraComposer.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
enableBlur
(boolean enable) protected void
finalize()
void
setBackgroundColor
(float r, float g, float b, float a) void
setBackgroundImage
(String path, boolean play, boolean loop) Pass empty path to reset background image.void
setBackgroundImageByFd
(int fd) void
setBackgroundVideoByFd
(int fd, boolean play, boolean loop) void
setBgTransparencyFactor
(float factor) void
setBlurRadius
(int radius) void
setClearColor
(float r, float g, float b, float a) Specifies the color of the area not covered by background texture (e.g.void
setContentMode
(int mode) void
setRotation
(float degrees) void
setScale
(float x, float y)
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
setBackgroundImage
Description copied from interface:CameraComposer
Pass empty path to reset background image. Supported extensions: jpg, jpeg, png, mp4, gif play and loop args only for video- Specified by:
setBackgroundImage
in interfaceCameraComposer
-
setBackgroundImageByFd
public void setBackgroundImageByFd(int fd) - Specified by:
setBackgroundImageByFd
in interfaceCameraComposer
-
setBackgroundVideoByFd
public void setBackgroundVideoByFd(int fd, boolean play, boolean loop) - Specified by:
setBackgroundVideoByFd
in interfaceCameraComposer
-
getBackgroundImage
- Specified by:
getBackgroundImage
in interfaceCameraComposer
-
getBackgroundVideo
- Specified by:
getBackgroundVideo
in interfaceCameraComposer
-
enableBlur
public void enableBlur(boolean enable) - Specified by:
enableBlur
in interfaceCameraComposer
-
setBlurRadius
public void setBlurRadius(int radius) - Specified by:
setBlurRadius
in interfaceCameraComposer
-
setBgTransparencyFactor
public void setBgTransparencyFactor(float factor) - Specified by:
setBgTransparencyFactor
in interfaceCameraComposer
-
setRotation
public void setRotation(float degrees) - Specified by:
setRotation
in interfaceCameraComposer
-
setScale
public void setScale(float x, float y) - Specified by:
setScale
in interfaceCameraComposer
-
setContentMode
public void setContentMode(int mode) - Specified by:
setContentMode
in interfaceCameraComposer
-
setBackgroundColor
public void setBackgroundColor(float r, float g, float b, float a) - Specified by:
setBackgroundColor
in interfaceCameraComposer
-
setClearColor
public void setClearColor(float r, float g, float b, float a) Description copied from interface:CameraComposer
Specifies the color of the area not covered by background texture (e.g. `contentMode` `FIT`). Black by default. Transparency (`a`) is a conventional argument only and currently ignored (use `1` for it).- Specified by:
setClearColor
in interfaceCameraComposer
-