Constants

public class Constants

Static class containing useful constants.

Constants

String CARDBOARD_CATEGORY Apps that use the Google VR SDK and run on Cardboard should include this category (along with action MAIN) in their AndroidManifest.xml.
String DAYDREAM_CATEGORY Apps that use the Google VR SDK and require Daydream should include this category (along with action MAIN) in their AndroidManifest.xml.

Fields

public static final String VERSION The Google VR SDK version.

Inherited Methods

Constants

public static final String CARDBOARD_CATEGORY

Apps that use the Google VR SDK and run on Cardboard should include this category (along with action MAIN) in their AndroidManifest.xml. An Activity tagged with this category will show up in the list of Cardboard apps in the Cardboard launcher. If an app supports both Cardboard and Daydream it should include both intent filters.

Example intent filter:

<intent-filter>
   <action android:name="android.intent.action.MAIN" />
   <category android:name="com.google.intent.category.CARDBOARD" />
 </intent-filter>
 

Constant Value: "com.google.intent.category.CARDBOARD"

public static final String DAYDREAM_CATEGORY

Apps that use the Google VR SDK and require Daydream should include this category (along with action MAIN) in their AndroidManifest.xml. An Activity tagged with this category will show up in the list of Daydream apps in the Daydream launcher. If an app supports both Cardboard and Daydream it should include both intent filters.

Example intent filter:

<intent-filter>
   <action android:name="android.intent.action.MAIN" />
   <category android:name="com.google.intent.category.DAYDREAM" />
 </intent-filter>
 

Constant Value: "com.google.intent.category.DAYDREAM"

Fields

public static final String VERSION

The Google VR SDK version.