interface Callback
A Callback to be notified of the surface lifecycle. All methods are invoked on the ui thread for convenience.
abstract fun onZoomSurfaceCreated(view: ZoomSurfaceView): Unit
The underlying surface was just created. At this point you can call surface to obtain a consumable surface. |
|
abstract fun onZoomSurfaceDestroyed(view: ZoomSurfaceView): Unit
The underlying surface has just been destroyed. At this point the surface obtained with surface is about to be released. |