setTargetRotation

open suspend override fun setTargetRotation(rotation: Int)

Sets the target rotation.

Parameters

rotation

the target rotation in Surface rotation (Surface.ROTATION_0, ...)