This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
gvr_event
#include <gvr_types.h>
Container for various GVR-events to which the client can optionally respond.
Summary
Public attributes
@6
union gvr_event::@5 gvr_event::@6
flags
gvr_flags gvr_event::flags
padding
uint8_t gvr_event::padding[496]
type
int32_t gvr_event::type
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."],[[["\u003cp\u003e\u003ccode\u003egvr_event\u003c/code\u003e is a container for various GVR (Google VR) events that client applications can respond to.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields like \u003ccode\u003eflags\u003c/code\u003e, \u003ccode\u003etimestamp\u003c/code\u003e, and \u003ccode\u003etype\u003c/code\u003e to provide information about the event.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erecenter_event_data\u003c/code\u003e field provides specific data for re-centering events in VR.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egvr_event\u003c/code\u003e utilizes a \u003ccode\u003eunion\u003c/code\u003e to store different types of event data.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access and handle these events using the provided attributes and data structures.\u003c/p\u003e\n"]]],["The `gvr_event` is a container for GVR-related events. It holds information about various occurrences that clients can respond to. Key attributes include: a union type `@5`, a set of `gvr_flags`, a `recenter_event_data` of type `gvr_recenter_event_data`, and a `timestamp` of type `gvr_clock_time_point`. It also contains an `int32_t` event `type`, and a `uint8_t` padding array of 496 bytes. These elements offer specific details about the encountered event.\n"],null,["# gvr_event Struct Reference\n\ngvr_event\n=========\n\n`#include \u003cgvr_types.h\u003e`\n\nContainer for various GVR-events to which the client can optionally respond.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| [@6](#structgvr__event_1ac33ddc487e88d39d3085ac2ed635ab9d) | `union gvr_event::@5` |\n| [flags](#structgvr__event_1a40344e506263bb1b3b8b15b058774088) | `gvr_flags` |\n| [padding](#structgvr__event_1a1fcb0cecbe9caaa37317fc83fe4710f1)`[496]` | `uint8_t` |\n| [recenter_event_data](#structgvr__event_1ac5e813190ec7ef26006d3d1e7536b4d9) | [gvr_recenter_event_data](/vr/reference/android-ndk/struct/gvr-recenter-event-data#structgvr__recenter__event__data) |\n| [timestamp](#structgvr__event_1af317e12272cfe37b6b92d4148b188690) | [gvr_clock_time_point](/vr/reference/android-ndk/struct/gvr-clock-time-point#structgvr__clock__time__point) |\n| [type](#structgvr__event_1a58bf4fc6801e1d7bd35da5167d471844) | `int32_t` |\n\nPublic attributes\n-----------------\n\n### @6\n\n```objective-c\nunion gvr_event::@5 gvr_event::@6\n``` \n\n### flags\n\n```scdoc\ngvr_flags gvr_event::flags\n``` \n\n### padding\n\n```scdoc\nuint8_t gvr_event::padding[496]\n``` \n\n### recenter_event_data\n\n```scdoc\ngvr_recenter_event_data gvr_event::recenter_event_data\n``` \n\n### timestamp\n\n```scdoc\ngvr_clock_time_point gvr_event::timestamp\n``` \n\n### type\n\n```carbon\nint32_t gvr_event::type\n```"]]