library / com.otaliastudios.zoom / ZoomSurfaceView / surfaceTexture

surfaceTexture

var surfaceTexture: SurfaceTexture?

A SurfaceTexture that can be consumed by some buffer provider. This will be non-null after Callback.onZoomSurfaceCreated and null again after Callback.onZoomSurfaceDestroyed.

This class cares about releasing this object when done.