Get Front App Orientation (device.front_orien)
Declaration
orien = device.front_orien()
Returns
- orien
Integer, relative to the screen.
0= Home at bottom
1= Home at right
2= Home at left
3= Home at top
4= error
Example
sys.toast('Toast shows with the front app orientation', device.front_orien())
Note: Uses sys.toast