October 15, 2019 update:
  • The Daydream View VR headset is no longer available for purchase. However, developers can continue to use the existing Google VR SDK to update and distribute their apps to the Google Play Store, and make them available to users in the Daydream app.

gvr_clock_time_point

#include <gvr_types.h>

A monotonic system time representation.

Summary

On Android, this is equivalent to System.nanoTime(), or clock_gettime(CLOCK_MONOTONIC). If there is any doubt about how to get the current time for the current platform, simply use gvr_get_time_point_now().

Public attributes

monotonic_system_time_nanos
int64_t

Public attributes

monotonic_system_time_nanos

int64_t gvr_clock_time_point::monotonic_system_time_nanos