public enum InteractionMode extends Enum<InteractionMode>
| Enum Constant and Description |
|---|
BOTH
This mode is a combination of MANUAL_ONLY and VR_ONLY, meaning the user
is prompted both visually and audibly.
|
MANUAL_ONLY
This mode causes the interaction to occur only on the display, meaning
the choices are presented and selected only via the display.
|
VR_ONLY
This mode causes the interaction to occur only through TTS and VR.
|
| Modifier and Type | Method and Description |
|---|---|
static InteractionMode |
valueForString(String value)
Returns InteractionMode (MANUAL_ONLY, VR_ONLY or BOTH)
|
static InteractionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractionMode MANUAL_ONLY
public static final InteractionMode VR_ONLY
public static final InteractionMode BOTH
The TriggerSource parameter of the PerformInteraction response will indicate which interaction mode the user finally chose to attempt the selection (even if the interaction did not end with a selection being made)
public static InteractionMode[] values()
for (InteractionMode c : InteractionMode.values()) System.out.println(c);
public static InteractionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static InteractionMode valueForString(String value)
value - a String