Package com.banuba.sdk.internal.renderer
Class RenderHandler
java.lang.Object
android.os.Handler
- All Implemented Interfaces:
RenderMsgSender
-
Nested Class Summary
Nested classes/interfaces inherited from class android.os.Handler
android.os.Handler.Callback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleMessage
(android.os.Message msg) boolean
void
void
sendDoFrame
(long frameTimeNanos) void
void
void
sendFreeBuffer
(RenderBuffer renderBuffer) void
void
sendProcessImage
(com.banuba.sdk.types.FullImageData image) void
sendProcessPhoto
(com.banuba.sdk.types.FullImageData image) void
sendRecordingCompleted
(File output) void
void
sendRunnable
(Runnable runnable) void
void
sendStartEditingImage
(com.banuba.sdk.types.FullImageData image) void
void
void
sendStartRecording
(String fileName, boolean mic, ContentRatioParams params, float speed) void
void
void
void
void
void
sendSurfaceChanged
(int width, int height) void
sendSurfaceCreated
(android.view.Surface surface) void
void
void
sendTakePhoto
(ContentRatioParams params) void
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 Details
-
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
- Specified by:
sendTakePhoto
in interfaceRenderMsgSender
-
sendStartRecording
public void sendStartRecording(@Nullable 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
- Specified by:
sendRecordingCompleted
in interfaceRenderMsgSender
-
sendFreeBuffer
- Specified by:
sendFreeBuffer
in interfaceRenderMsgSender
-
sendStopDoFrame
public void sendStopDoFrame()- Specified by:
sendStopDoFrame
in interfaceRenderMsgSender
-
sendClearSurface
public void sendClearSurface()- Specified by:
sendClearSurface
in interfaceRenderMsgSender
-
sendRunnable
- Specified by:
sendRunnable
in interfaceRenderMsgSender
-
sendResumeDoFrame
public void sendResumeDoFrame()- Specified by:
sendResumeDoFrame
in interfaceRenderMsgSender
-
sendWatermarkInfo
- 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
-