Page Summary
-
UserPrefs.ControllerHandednessis an abstract class in Android VR that defines the user's preferred hand for holding the controller. -
It includes two constants:
LEFT_HANDED(value 1) andRIGHT_HANDED(value 0), representing the user's dominant hand. -
This class provides a way for developers to determine and utilize the user's preferred controller hand in their VR applications.
public static abstract class
UserPrefs.ControllerHandedness
The hand the user prefers to hold the controller in.
Constants
| int | LEFT_HANDED | |
| int | RIGHT_HANDED |
Public Constructors
Inherited Methods
Constants
public static final int LEFT_HANDED
Constant Value:
1
public static final int RIGHT_HANDED
Constant Value:
0