freesmartphone.org Framework DBus Interface Specification
org.freesmartphone.Device.Orientation
Description
This interface provides access to the device's physical orientation.
Namespace
org.freesmartphone.Device.Orientation
Methods
Signals
Properties
None
Errors
None
Methods
Description: Returns the orientation of the device.
Returns
s: orientationThe orientation. Expected substrings are:
- "flat" (Laying flat on a level surface, e.g. a table),
- "held" (Being held slightly tilt towards your face),
- "portrait" (Display held with the long side vertically),
- "landscape" (Display held with the long side horizontally,
- "faceup" (Display being oriented towards the sky),
- "facedown" (Display being oriented towards the floor),
- "normal", (Not rotated)
- "reverse", (180 degrees rotated)
Signals
Description: Sent whenever there is a change of the device orientation.
Parameters
s: orientationThe new orientation. See GetOrientation for supported values.
| Specified 2008-2012 by the Freesmartphone.org team. | Join us and discuss further drafts smartphones-standards (at) linuxtogo (dot) org