Z.Orientation

enum Orientation { LANDSCAPE, PORTRAIT, LANDSCAPEINVERTED, PORTRAITINVERTED }

The orientation of the device. The Zappar platform does not automatically modify the coordinate systems or display of a zap as a result of changes in orientation. Thus it is necessary to use Accelerometer states to modify a zap's user interface to better suit the device's current orientation when it changes.

Member List

Member Description
LANDSCAPE The default orientation, for devices that have a dominant portrait orientation (such as the iPhone) landscape is defined such that the bottom of the device is on the right hand side.
PORTRAIT Rotated 90 degrees clockwise from landscape.
LANDSCAPEINVERTED Rotated 180 degrees from landscape.
PORTRAITINVERTED Rotated 180 degrees from portrait.
zapcode branded_zapcode i