Enum ARPlane.Type
- All Implemented Interfaces:
Comparable<ARPlane.Type>
- Enclosing class:
ARPlane
The orientation of a detected plane.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA horizontal, downward-facing surface such as a ceiling.A horizontal, upward-facing surface such as a floor or table top.A vertical surface such as a wall. -
Method Summary
Modifier and TypeMethodDescriptionstatic ARPlane.TypeReturns the enum constant of this type with the specified name.static ARPlane.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
HORIZONTAL_UP
A horizontal, upward-facing surface such as a floor or table top. -
HORIZONTAL_DOWN
A horizontal, downward-facing surface such as a ceiling. -
VERTICAL
A vertical surface such as a wall.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-