SurfaceWrapper

interface SurfaceWrapper

Wraps both surfaceHolder and SurfaceTexture so that the camera managers don't need to know which one they're using

Inheritors

Functions

Link copied to clipboard
@NonNull
abstract fun getSurfaceHolderCallback(): SurfaceHolder.Callback
Link copied to clipboard
@NonNull
abstract fun getSurfaceTextureListener(): TextureView.SurfaceTextureListener