November 6, 2019 update:
  • There's a new open source Cardboard SDK for iOS and Android NDK that offers a streamlined API, improved device compatibility, and built-in viewer profile QR code scanning. A corresponding Unity package (SDK) is planned for a future release. We recommend that all developers actively building for Google Cardboard migrate (iOS, Android NDK) to the new Cardboard SDK.
October 15, 2019 update:
  • The Daydream View VR headset is no longer available for purchase. However, you can continue to use the existing Google VR SDK to update and distribute your apps to the Google Play Store, and make them available to users in the Daydream app.

Event.RecenterType

public static final class Event.RecenterType

Constants that represent the type of recentering.

Constants

int ALIGNED A recenter event triggered by the controller (e.g.
int DON A recenter event triggered by proximity sensor detecting the user has put put the headset on (a.k.a.
int RESTART Recentering state received from the platform upon starting or resuming the application.

Inherited Methods

Constants

public static final int ALIGNED

A recenter event triggered by the controller (e.g. long-press on Home button or connecting controller as part of donning UX).

Constant Value: 2

public static final int DON

A recenter event triggered by proximity sensor detecting the user has put put the headset on (a.k.a. donned the headset).

Constant Value: 3

public static final int RESTART

Recentering state received from the platform upon starting or resuming the application. This event is usually precedes a HEAD_TRACKING_RESUMED event in the same frame.

Constant Value: 1