Package com.banuba.sdk.offscreen
Class OffscreenPlayerThread
java.lang.Object
java.lang.Thread
com.banuba.sdk.internal.BaseWorkThread<OffscreenPlayerHandler>
com.banuba.sdk.offscreen.OffscreenPlayerThread
- All Implemented Interfaces:
Runnable
Deprecated.
The com.banuba.sdk.offscreen package is deprecated. Use PlayerAPI instead.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionOffscreenPlayerThread
(android.content.Context context, com.banuba.sdk.effect_player.EffectPlayer player, android.util.Size size, OffscreenSimpleConfig config) Deprecated.OffscreenPlayerThread
(android.content.Context context, OffscreenEffectPlayerConfig config, String key) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected OffscreenPlayerHandler
Deprecated.void
enableAudio
(boolean enable) Deprecated.void
handleCallJsMethod
(String method, String parameter) Deprecated.void
handleEvalJs
(String script, com.banuba.sdk.effect_player.JsCallback resultCallback) Deprecated.void
handleFullImageData
(com.banuba.sdk.types.FullImageData data, ReleaseCallback callback, OEPImageFormat outputImageFormat, long timestamp) Deprecated.void
handleImageProcess
(android.media.Image image, ImageOrientation imageOrientation, OEPImageFormat outputImageFormat, long timestamp) Deprecated.void
handleLoadEffect
(String effectName) Deprecated.void
handleLoadEffect
(String effectName, boolean async) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
handleSetListener
(ImageProcessedListener listener, android.os.Handler handler) Deprecated.void
handleSetSurface
(android.graphics.SurfaceTexture surfaceTexture) Deprecated.void
Deprecated.protected void
Deprecated.protected void
Deprecated.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 Details
-
OffscreenPlayerThread
public OffscreenPlayerThread(@NonNull android.content.Context context, @NonNull OffscreenEffectPlayerConfig config, @NonNull String key) Deprecated. -
OffscreenPlayerThread
public OffscreenPlayerThread(@NonNull android.content.Context context, @NonNull com.banuba.sdk.effect_player.EffectPlayer player, @NonNull android.util.Size size, @NonNull OffscreenSimpleConfig config) Deprecated.
-
-
Method Details
-
constructHandler
Deprecated.- Specified by:
constructHandler
in classBaseWorkThread<OffscreenPlayerHandler>
-
preRunInit
protected void preRunInit()Deprecated.- Overrides:
preRunInit
in classBaseWorkThread<OffscreenPlayerHandler>
-
postRunClear
protected void postRunClear()Deprecated.- Overrides:
postRunClear
in classBaseWorkThread<OffscreenPlayerHandler>
-
handleLoadEffect
Deprecated. -
handleLoadEffect
Deprecated. -
handleImageProcess
public void handleImageProcess(@NonNull android.media.Image image, @NonNull ImageOrientation imageOrientation, @NonNull OEPImageFormat outputImageFormat, long timestamp) Deprecated. -
handleFullImageData
public void handleFullImageData(@NonNull com.banuba.sdk.types.FullImageData data, @Nullable ReleaseCallback callback, @NonNull OEPImageFormat outputImageFormat, long timestamp) Deprecated. -
handleUnloadEffect
public void handleUnloadEffect()Deprecated. -
handleCallJsMethod
Deprecated. -
handleEvalJs
public void handleEvalJs(@NonNull String script, @Nullable com.banuba.sdk.effect_player.JsCallback resultCallback) Deprecated. -
handleSetListener
public void handleSetListener(@Nullable ImageProcessedListener listener, @Nullable android.os.Handler handler) Deprecated. -
handleSetSurface
public void handleSetSurface(@Nullable android.graphics.SurfaceTexture surfaceTexture) Deprecated. -
handlePlaybackPlay
public void handlePlaybackPlay()Deprecated. -
handlePlaybackPause
public void handlePlaybackPause()Deprecated. -
handlePlaybackStop
public void handlePlaybackStop()Deprecated. -
enableAudio
public void enableAudio(boolean enable) Deprecated.
-