PreviewCallback

class PreviewCallback(onCreated: (surface: Surface, width: Int, height: Int) -> Unit, onChanged: (width: Int, height: Int) -> Unit, onDestroyed: () -> Unit)

Constructors

Link copied to clipboard
constructor(onCreated: (surface: Surface, width: Int, height: Int) -> Unit, onChanged: (width: Int, height: Int) -> Unit, onDestroyed: () -> Unit)

Functions

Link copied to clipboard
Link copied to clipboard
fun setSurfaceView(surfaceView: SurfaceView)
Link copied to clipboard
fun setTextureView(textureView: TextureView)