DebugViewProvider


@UnstableApi
interface DebugViewProvider


Provider for views to show diagnostic information during an export, for debugging.

This is not intended for production use-cases.

Summary

Constants

const DebugViewProvider!

Debug view provider that doesn't show any debug info.

Public functions

SurfaceView?
getDebugPreviewSurfaceView(width: Int, height: Int)

Returns a new surface view to show a preview of transformer output with the given width/height in pixels, or null if no debug information should be shown.

Constants

NONE

const val NONEDebugViewProvider!

Debug view provider that doesn't show any debug info.

Public functions

getDebugPreviewSurfaceView

fun getDebugPreviewSurfaceView(width: Int, height: Int): SurfaceView?

Returns a new surface view to show a preview of transformer output with the given width/height in pixels, or null if no debug information should be shown.

This method may be called on an arbitrary thread.