This site has been permanently archived. The content on this site was last updated in 2019.
GvrApi.ViewerType
Stay organized with collections
Save and categorize content based on your preferences.
Constants that represent possible GVR viewer types.
Constants
int |
CARDBOARD |
A Cardboard-compatible viewer. |
int |
DAYDREAM |
A Daydream-compatible viewer. |
Inherited Methods
From class
java.lang.Object
boolean
|
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
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
()
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["`GvrApi.ViewerType` defines constants representing supported VR viewer types, namely CARDBOARD and DAYDREAM."],["CARDBOARD represents viewers with basic touchscreen input, often used as the default if no specific viewer is paired."],["DAYDREAM represents viewers with 3DoF controller input, designed for Daydream-ready platforms and generally lacking touchscreen input unless Cardboard emulation is enabled."]]],[]]