Stay organized with collections Save and categorize content based on your preferences.
These are features that may be available on some devices but can be enabled or disabled by the user. Whether a specific feature is supported on a platform can be queried via isFeatureSupported(UserPrefs.RuntimeFeature)
, and whether the feature is enabled by the user can be queried via isFeatureEnabled(RuntimeFeature)
. requestFeatures(UserPrefs.RuntimeFeature[], UserPrefs.RuntimeFeature[], android.app.PendingIntent)
can be used to ask the user to enable a set of features.
getClass()
inthashCode()
final voidnotify()
final voidnotifyAll()
StringtoString()
final voidwait(long arg0, int arg1)
final voidwait(long arg0)
final voidwait()
From interface java.lang.Comparable Enum Values public static final UserPrefs.RuntimeFeature GVR_BETA_FEATURE_DAYDREAM_6DOF_CONTROLLERWhether the user has plugged in a 6DoF Controller.
public static final UserPrefs.RuntimeFeature GVR_BETA_FEATURE_SEE_THROUGHWhether the user has enabled camera see-through.
Fields public final int idID of this RuntimeFeature. This matches the ID in gvr_types.h.
public final String tagManifest tag for this feature. This should be declared as meta-data in your app's manifest.
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."],[[["`UserPrefs.RuntimeFeature` allows managing user-configurable VR features, like 6DoF controllers and see-through mode."],["Developers can check feature support and user enablement through provided methods like `isFeatureSupported` and `isFeatureEnabled`."],["`requestFeatures` enables prompting users to enable specific features within the app."],["Each `RuntimeFeature` has an ID and manifest tag for identification and declaration in the app's manifest."],["Two predefined `RuntimeFeature` values are `GVR_BETA_FEATURE_DAYDREAM_6DOF_CONTROLLER` and `GVR_BETA_FEATURE_SEE_THROUGH`."]]],["RuntimeFeatures are device-dependent functionalities that users can enable or disable. Check if a feature is supported using `isFeatureSupported()` and if it's enabled via `isFeatureEnabled()`. Request user permission to enable features using `requestFeatures()`. Each feature has an `id` and a `tag`. Example features include `GVR_BETA_FEATURE_DAYDREAM_6DOF_CONTROLLER` (6DoF controller) and `GVR_BETA_FEATURE_SEE_THROUGH` (camera see-through). The inherited methods includes `compareTo()`, `equals()`, `hashCode()`, and `wait()`.\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