library / com.otaliastudios.zoom / ZoomSurfaceView / addCallback

addCallback

fun addCallback(callback: Callback): Unit

Adds a new Callback to be notified of the surface state. Should be called as soon as possible.