Package org.vivecraft.api.client.data
Enum Class OpenKeyboardContext
- All Implemented Interfaces:
Serializable
,Comparable<OpenKeyboardContext>
,Constable
Determines how strict the opening of the VR keyboard should be
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly opens the keyboard if the user has configured to open the keyboard when a text box becomes focused.Only opens the keyboard if the user has configured to open the keyboard when a text box or chat becomes focused.Will open the keyboard no matter the situation. -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenKeyboardContext
Returns the enum constant of this class with the specified name.static OpenKeyboardContext[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORCE
Will open the keyboard no matter the situation. -
FOCUS
Only opens the keyboard if the user has configured to open the keyboard when a text box becomes focused. -
FOCUS_CHAT
Only opens the keyboard if the user has configured to open the keyboard when a text box or chat becomes focused. Same asFOCUS
, but also works if the user only has chat configured to automatically open the keyboard.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-