Device Orientation in Android App on OSx


I am performing android app automation on OSx and I am using appium and robot framework keywords for automation.
I would like to know if there is a keyword (or any other way) to get device orientation. My app supports only certain features in landscape (Watching camera video) and I have to validate these scenarios in my scripts.