Package com.banuba.sdk.internal.renderer
Class RenderHandler
- java.lang.Object
-
- android.os.Handler
-
- com.banuba.sdk.internal.WeakHandler<RenderThread>
-
- com.banuba.sdk.internal.renderer.RenderHandler
-
- All Implemented Interfaces:
RenderMsgSender
public class RenderHandler extends WeakHandler<RenderThread> implements RenderMsgSender
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleMessage(android.os.Message msg)
boolean
isRealRenderer()
void
sendClearSurface()
void
sendDoFrame(long frameTimeNanos)
void
sendEffectPlayerPause()
void
sendEffectPlayerPlay()
void
sendFreeBuffer(RenderBuffer renderBuffer)
void
sendPauseRecording()
void
sendProcessImage(com.banuba.sdk.types.FullImageData image)
void
sendProcessPhoto(com.banuba.sdk.types.FullImageData image)
void
sendRecordingCompleted(java.io.File output)
void
sendResumeDoFrame()
void
sendRunnable(java.lang.Runnable runnable)
void
sendShutdown()
void
sendStartEditingImage(com.banuba.sdk.types.FullImageData image)
void
sendStartForwardingFrames()
void
sendStartForwardingTextures()
void
sendStartRecording(java.lang.String fileName, boolean mic, ContentRatioParams params, float speed)
void
sendStopDoFrame()
void
sendStopEditingImage()
void
sendStopForwardingFrames()
void
sendStopForwardingTextures()
void
sendStopRecording()
void
sendSurfaceChanged(int width, int height)
void
sendSurfaceCreated(android.view.Surface surface)
void
sendSurfaceDestroyed()
void
sendTakeEditedImage()
void
sendTakePhoto(ContentRatioParams params)
void
sendUnpauseRecording()
void
sendWatermarkInfo(WatermarkInfo watermarkInfo)
-
Methods inherited from class com.banuba.sdk.internal.WeakHandler
getThread
-
Methods inherited from class android.os.Handler
createAsync, createAsync, dispatchMessage, dump, getLooper, getMessageName, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
-
-
-
-
Method Detail
-
sendSurfaceCreated
public void sendSurfaceCreated(android.view.Surface surface)
- Specified by:
sendSurfaceCreated
in interfaceRenderMsgSender
-
sendSurfaceChanged
public void sendSurfaceChanged(int width, int height)
- Specified by:
sendSurfaceChanged
in interfaceRenderMsgSender
-
sendSurfaceDestroyed
public void sendSurfaceDestroyed()
- Specified by:
sendSurfaceDestroyed
in interfaceRenderMsgSender
-
sendDoFrame
public void sendDoFrame(long frameTimeNanos)
- Specified by:
sendDoFrame
in interfaceRenderMsgSender
-
sendShutdown
public void sendShutdown()
- Specified by:
sendShutdown
in interfaceRenderMsgSender
-
isRealRenderer
public boolean isRealRenderer()
- Specified by:
isRealRenderer
in interfaceRenderMsgSender
-
sendTakePhoto
public void sendTakePhoto(ContentRatioParams params)
- Specified by:
sendTakePhoto
in interfaceRenderMsgSender
-
sendStartRecording
public void sendStartRecording(@Nullable java.lang.String fileName, boolean mic, @Nullable ContentRatioParams params, float speed)
- Specified by:
sendStartRecording
in interfaceRenderMsgSender
-
sendStopRecording
public void sendStopRecording()
- Specified by:
sendStopRecording
in interfaceRenderMsgSender
-
sendPauseRecording
public void sendPauseRecording()
- Specified by:
sendPauseRecording
in interfaceRenderMsgSender
-
sendUnpauseRecording
public void sendUnpauseRecording()
- Specified by:
sendUnpauseRecording
in interfaceRenderMsgSender
-
sendRecordingCompleted
public void sendRecordingCompleted(@NonNull java.io.File output)
- Specified by:
sendRecordingCompleted
in interfaceRenderMsgSender
-
sendFreeBuffer
public void sendFreeBuffer(@NonNull RenderBuffer renderBuffer)
- Specified by:
sendFreeBuffer
in interfaceRenderMsgSender
-
sendStopDoFrame
public void sendStopDoFrame()
- Specified by:
sendStopDoFrame
in interfaceRenderMsgSender
-
sendClearSurface
public void sendClearSurface()
- Specified by:
sendClearSurface
in interfaceRenderMsgSender
-
sendRunnable
public void sendRunnable(java.lang.Runnable runnable)
- Specified by:
sendRunnable
in interfaceRenderMsgSender
-
sendResumeDoFrame
public void sendResumeDoFrame()
- Specified by:
sendResumeDoFrame
in interfaceRenderMsgSender
-
sendWatermarkInfo
public void sendWatermarkInfo(WatermarkInfo watermarkInfo)
- Specified by:
sendWatermarkInfo
in interfaceRenderMsgSender
-
sendProcessPhoto
public void sendProcessPhoto(@NonNull com.banuba.sdk.types.FullImageData image)
- Specified by:
sendProcessPhoto
in interfaceRenderMsgSender
-
sendProcessImage
public void sendProcessImage(@NonNull com.banuba.sdk.types.FullImageData image)
- Specified by:
sendProcessImage
in interfaceRenderMsgSender
-
sendStartEditingImage
public void sendStartEditingImage(@NonNull com.banuba.sdk.types.FullImageData image)
- Specified by:
sendStartEditingImage
in interfaceRenderMsgSender
-
sendStopEditingImage
public void sendStopEditingImage()
- Specified by:
sendStopEditingImage
in interfaceRenderMsgSender
-
sendTakeEditedImage
public void sendTakeEditedImage()
- Specified by:
sendTakeEditedImage
in interfaceRenderMsgSender
-
sendStartForwardingFrames
public void sendStartForwardingFrames()
- Specified by:
sendStartForwardingFrames
in interfaceRenderMsgSender
-
sendStopForwardingFrames
public void sendStopForwardingFrames()
- Specified by:
sendStopForwardingFrames
in interfaceRenderMsgSender
-
sendEffectPlayerPlay
public void sendEffectPlayerPlay()
- Specified by:
sendEffectPlayerPlay
in interfaceRenderMsgSender
-
sendEffectPlayerPause
public void sendEffectPlayerPause()
- Specified by:
sendEffectPlayerPause
in interfaceRenderMsgSender
-
sendStartForwardingTextures
public void sendStartForwardingTextures()
- Specified by:
sendStartForwardingTextures
in interfaceRenderMsgSender
-
sendStopForwardingTextures
public void sendStopForwardingTextures()
- Specified by:
sendStopForwardingTextures
in interfaceRenderMsgSender
-
handleMessage
public void handleMessage(android.os.Message msg)
- Overrides:
handleMessage
in classandroid.os.Handler
-
-