lockRotation

open fun lockRotation(lock: Boolean): Boolean

Locks or unlocks the rotation updates.

Return

true if the state changed

Since

1.15.2

Parameters

lock

true to lock, false to unlock