getVisibleWidth

open fun getVisibleWidth(): Int

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

Return

the actual width of the visible part of camera view.