lockRotation
Locks or unlocks the rotation updates.
Return
true if the state changed
Since
1.15.2
Parameters
lock
true to lock, false to unlock
Locks or unlocks the rotation updates.
true if the state changed
1.15.2
true to lock, false to unlock