lockToLandscape

abstract fun lockToLandscape(lockPicture: Boolean)

Locks camera in landscape mode

Parameters

lockPicture

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