setAspectFill

open fun setAspectFill(isAspectFill: Boolean)

Defines whether the camera preview fills or fits the available space.

Parameters

isAspectFill

true to make the preview fill the available space