Package com.banuba.sdk.scene
Class CameraComposer.CppProxy
- java.lang.Object
-
- com.banuba.sdk.scene.CameraComposer.CppProxy
-
- All Implemented Interfaces:
CameraComposer
- Enclosing interface:
- CameraComposer
public static final class CameraComposer.CppProxy extends java.lang.Object implements CameraComposer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.CameraComposer
CameraComposer.CppProxy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
void
enableBlur(boolean enable)
protected void
finalize()
Image
getBackgroundImage()
Video
getBackgroundVideo()
void
setBackgroundColor(float r, float g, float b, float a)
void
setBackgroundImage(java.lang.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 Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
setBackgroundImage
public void setBackgroundImage(java.lang.String path, boolean play, boolean loop)
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
public Image getBackgroundImage()
- Specified by:
getBackgroundImage
in interfaceCameraComposer
-
getBackgroundVideo
public Video 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
-
-