getVisibleHeight

abstract fun getVisibleHeight(): Int

Returns the actual height of the visible part of camera view. Can be less than actual view height (in case of ASPECT_FILL mode)

Return

the actual height of the visible part of camera view.