lockToPortrait

open override fun lockToPortrait(lockPicture: Boolean)

Locks camera in portrait mode

Parameters

lockPicture

if true - taken picture will ba locked to the portrait orientation, false - picture orientation depends on the device sensor.