Status der Rotationssperre abrufen (device.is_orien_locked)
Deklaration
Gesperrt = device.is_orien_locked()
Rückgabewert
- Gesperrt
Boolescher Wert; gibt an, ob die Rotationssperre des Bildschirms aktiviert ist
Beispiel
if device.is_orien_locked() then
-- Bildschirmrotation ist gesperrt
else
-- Bildschirmrotation ist nicht gesperrt
end