UserPrefs.ControllerHandedness

  • UserPrefs.ControllerHandedness is 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) and RIGHT_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

Public Constructors

public UserPrefs.ControllerHandedness ()