GvrApi.ViewerType

public static abstract class GvrApi.ViewerType

Constants that represent possible GVR viewer types.

Constants

int CARDBOARD A Cardboard-compatible viewer.
int DAYDREAM A Daydream-compatible viewer.

Public Constructors

Inherited Methods

Constants

public static final int CARDBOARD

A Cardboard-compatible viewer. A typical Cardboard viewer supports a simple touchscreen-based trigger input mechanism. On most platforms, this is the default viewer type if no viewer has been explicitly paired.

Constant Value: 0

public static final int DAYDREAM

A Daydream-compatible viewer. A typical Daydream viewer supports 3DOF controller input (as defined in gvr_controller.h), and is intended only for Daydream-ready platforms. It does *not* support touchscreen-based input unless Cardboard emulation is explicitly enabled.

Constant Value: 1

Public Constructors

public GvrApi.ViewerType ()