C++ Java Unity
Java Reference
EyewearDevice.ORIENTATION Class Reference

Detailed Description

Device orientation.

Static Public Attributes

static final int ORIENTATION_UNDEFINED = 0
 The device's orientation is undefined. More...
 
static final int ORIENTATION_PORTRAIT = ORIENTATION_UNDEFINED + 1
 The device orientation is portrait. More...
 
static final int ORIENTATION_LANDSCAPE_LEFT = ORIENTATION_PORTRAIT + 1
 The device orientation is landscape, rotated left from portrait. More...
 
static final int ORIENTATION_LANDSCAPE_RIGHT = ORIENTATION_LANDSCAPE_LEFT + 1
 The device orientation is landscape, rotated right from portrait. More...
 

Member Data Documentation

final int ORIENTATION_UNDEFINED = 0
static

The device's orientation is undefined.

final int ORIENTATION_PORTRAIT = ORIENTATION_UNDEFINED + 1
static

The device orientation is portrait.

final int ORIENTATION_LANDSCAPE_LEFT = ORIENTATION_PORTRAIT + 1
static

The device orientation is landscape, rotated left from portrait.

final int ORIENTATION_LANDSCAPE_RIGHT = ORIENTATION_LANDSCAPE_LEFT + 1
static

The device orientation is landscape, rotated right from portrait.