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."],[[["`gvr::UserPrefs` is a C++ convenience wrapper for `gvr_user_prefs`, providing easier interaction with user preferences."],["It inherits from `gvr::WrapperBase\u003cconst gvr_user_prefs\u003e`, offering basic wrapper functionalities."],["This class allows developers to retrieve the user's preferred controller handedness using `GetControllerHandedness()`."],["It also provides a way to check if specific features are enabled through the `IsFeatureEnabled()` function."]]],["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"]]