Enum ARHitResult.Type

java.lang.Object
java.lang.Enum<ARHitResult.Type>
com.codename1.ar.ARHitResult.Type
All Implemented Interfaces:
Comparable<ARHitResult.Type>
Enclosing class:
ARHitResult

public static enum ARHitResult.Type extends Enum<ARHitResult.Type>
The kind of real-world geometry the hit ray intersected.
  • Enum Constant Details

    • PLANE

      public static final ARHitResult.Type PLANE
      A detected ARPlane.
    • ESTIMATED_PLANE

      public static final ARHitResult.Type ESTIMATED_PLANE
      A surface the platform estimates exists but has not fully detected as a plane yet.
    • FEATURE_POINT

      public static final ARHitResult.Type FEATURE_POINT
      An individual tracked feature point.
  • Method Details

    • values

      public static ARHitResult.Type[] 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

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