setTargetRotation

abstract suspend fun setTargetRotation(rotation: Int)(source)

Sets the target rotation.

Parameters

rotation

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