Enum Class OpenKeyboardContext

java.lang.Object
java.lang.Enum<OpenKeyboardContext>
org.vivecraft.api.client.data.OpenKeyboardContext
All Implemented Interfaces:
Serializable, Comparable<OpenKeyboardContext>, Constable

public enum OpenKeyboardContext extends Enum<OpenKeyboardContext>
Determines how strict the opening of the VR keyboard should be
  • Enum Constant Details

    • FORCE

      public static final OpenKeyboardContext FORCE
      Will open the keyboard no matter the situation.
    • FOCUS

      public static final OpenKeyboardContext FOCUS
      Only opens the keyboard if the user has configured to open the keyboard when a text box becomes focused.
    • FOCUS_CHAT

      public static final OpenKeyboardContext FOCUS_CHAT
      Only opens the keyboard if the user has configured to open the keyboard when a text box or chat becomes focused. Same as FOCUS, but also works if the user only has chat configured to automatically open the keyboard.
  • Method Details

    • values

      public static OpenKeyboardContext[] 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

      public static OpenKeyboardContext valueOf(String name)
      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 name
      NullPointerException - if the argument is null