Stay organized with collections Save and categorize content based on your preferences.
Container for various GVR-events to which the client can optionally respond.
Nested Classes Public Constructors Event()
Creates a new, unpopulated, event.
Public Methods Inherited Methods From class java.lang.Object boolean final Class<?>getClass()
inthashCode()
final voidnotify()
final voidnotifyAll()
StringtoString()
final voidwait(long arg0, int arg1)
final voidwait(long arg0)
final voidwait()
From interface java.lang.AutoCloseable Public Constructors public Event ()Creates a new, unpopulated, event. This event may be reused for multiple calls to pollEvent(Event)
. It's recommended to have one Event object for the lifetime of the app to reduce allocations.
Destroys the event. Must be called when done with the event.
public long getFlags ()Returns the event flags; always 0 for now.
public long getRecenterEventFlags () public void getRecenterEventStartSpaceFromTrackingSpaceTransform (float[] outTransform)Returns the transform to start space from tracking space. Only valid if getType()
returns RECENTER
.
Returns the event's timestamp, in nanos.
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."],[[["The `Event` class is a container for various Google VR events that client applications can respond to."],["It provides methods to access event details like type, timestamp, and recentering information if applicable."],["Developers should reuse a single `Event` object throughout the app's lifecycle for better performance."],["The `close()` method must be called when the event is no longer needed to release resources."],["Events can indicate recentering, providing details about the type of recentering and transform information."]]],["The `Event` class is a container for GVR events, allowing clients to respond to them. Key actions include creating an `Event` object via its constructor, retrieving event details using methods like `getType()`, `getTimestamp()`, and `getRecenterEventType()`. Methods such as `getRecenterEventStartSpaceFromTrackingSpaceTransform` fetch transform data. `getFlags` and `getRecenterEventFlags` retrieve event flags, and when an event is no longer needed, `close()` should be called to destroy it.\n"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4