Package com.banuba.sdk.internal.photo
Class PhotoThread
- java.lang.Object
-
- java.lang.Thread
-
- com.banuba.sdk.internal.BaseWorkThread<PhotoHandler>
-
- com.banuba.sdk.internal.photo.PhotoThread
-
- All Implemented Interfaces:
java.lang.Runnable
public final class PhotoThread extends BaseWorkThread<PhotoHandler>
-
-
Constructor Summary
Constructors Constructor Description PhotoThread(EglCore shared, RenderMsgSender renderMsgSender, RecordingListenerHandler recordingListenerHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PhotoHandler
constructHandler()
void
handleFrameCaptured(RenderBuffer renderBuffer, ContentRatioParams params)
protected void
postRunClear()
protected void
preRunInit()
-
Methods inherited from class com.banuba.sdk.internal.BaseWorkThread
getHandler, releaseHandler, run, shutdown, startAndGetHandler
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
PhotoThread
public PhotoThread(@NonNull EglCore shared, @NonNull RenderMsgSender renderMsgSender, @NonNull RecordingListenerHandler recordingListenerHandler)
-
-
Method Detail
-
constructHandler
@NonNull protected PhotoHandler constructHandler()
- Specified by:
constructHandler
in classBaseWorkThread<PhotoHandler>
-
preRunInit
protected void preRunInit()
- Overrides:
preRunInit
in classBaseWorkThread<PhotoHandler>
-
postRunClear
protected void postRunClear()
- Overrides:
postRunClear
in classBaseWorkThread<PhotoHandler>
-
handleFrameCaptured
public final void handleFrameCaptured(@NonNull RenderBuffer renderBuffer, ContentRatioParams params)
-
-