The GetOrientation method gets the current orientation of the phone/tablet. It will return either the value "Portrait" or the value "Landscape"
See also SetOrientation