Support 180deg rotations as well as 90deg rotations

Does Katalon mobile support 180 degree and 9-degree device rotation? How can this be scripted?
I know that we can use Mobile.switchToLandscape() which rotates the image 90 degrees, but what if i want to rotate it 180 degrees?