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::UserPrefs
#include <gvr.h>
Convenience C++ wrapper for gvr_user_prefs.
Summary
Inheritance
Inherits from:
gvr::WrapperBase< const gvr_user_prefs >Public functions
GetControllerHandedness
ControllerHandedness GetControllerHandedness() const
IsFeatureEnabled
bool IsFeatureEnabled(
int32_t feature
) const
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::UserPrefs\u003c/code\u003e is a C++ convenience wrapper for \u003ccode\u003egvr_user_prefs\u003c/code\u003e, providing easier interaction with user preferences.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003egvr::WrapperBase<const gvr_user_prefs>\u003c/code\u003e, offering basic wrapper functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows developers to retrieve the user's preferred controller handedness using \u003ccode\u003eGetControllerHandedness()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt also provides a way to check if specific features are enabled through the \u003ccode\u003eIsFeatureEnabled()\u003c/code\u003e function.\u003c/p\u003e\n"]]],["The `gvr::UserPrefs` class is a C++ wrapper for `gvr_user_prefs`, inheriting from `gvr::WrapperBase`. It offers two primary functionalities: `GetControllerHandedness()`, which retrieves the user's preferred controller hand, and `IsFeatureEnabled(int32_t feature)`, which checks if a specific feature is enabled. Detailed information about these actions can be found in the linked `gvr_user_prefs_get_controller_handedness()` and `gvr_user_prefs_is_feature_enabled()` documentation respectively.\n"],null,[]]