Package com.banuba.sdk.offscreen
Class ImageReleaserImpl
- java.lang.Object
-
- com.banuba.sdk.offscreen.ImageReleaserImpl
-
- All Implemented Interfaces:
com.banuba.sdk.utils.ImageReleaser
public final class ImageReleaserImpl extends java.lang.Object implements com.banuba.sdk.utils.ImageReleaser
ImageReleaserImpl class keep deleter for the frame and allowing it to be released after destroying pointers to planes on the cpp side
-
-
Constructor Summary
Constructors Constructor Description ImageReleaserImpl(ReleaseCallback releaseCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRef()
void
addRefCount(int number)
boolean
isClosed()
void
release()
-
-
-
Constructor Detail
-
ImageReleaserImpl
public ImageReleaserImpl(@NonNull ReleaseCallback releaseCallback)
-
-
Method Detail
-
addRef
public void addRef()
- Specified by:
addRef
in interfacecom.banuba.sdk.utils.ImageReleaser
-
addRefCount
public void addRefCount(int number)
- Specified by:
addRefCount
in interfacecom.banuba.sdk.utils.ImageReleaser
-
release
public void release()
- Specified by:
release
in interfacecom.banuba.sdk.utils.ImageReleaser
-
isClosed
public boolean isClosed()
-
-