library / com.otaliastudios.zoom / ZoomApi / setMaxZoom

setMaxZoom

abstract fun setMaxZoom(maxZoom: Float, type: Int): Unit

Which is the max zoom that should be allowed. If ZoomApi.setOverPinchable is set to true, this can be over-pinched for a brief time.

Parameters

maxZoom - the max zoom

type - the constraint mode

See Also

zoom

realZoom