onSurfaceTextureDestroyed

open override fun onSurfaceTextureDestroyed(surfaceTexture: SurfaceTexture): Boolean

SurfaceTextureListener callback that lets us know when a surface texture is destroyed we need to stop drawing on it.