# Enum ARFaceRegion

java.lang.Object
java.lang.Enum<ARFaceRegion>
com.codename1.ar.ARFaceRegion

All Implemented Interfaces:
  `Comparable<ARFaceRegion>`

public enum ARFaceRegion extends Enum<ARFaceRegion>
Named face regions whose poses can be queried from an `ARFaceAnchor`. Platform availability differs: ARCore natively supplies the nose tip and forehead regions, while eye poses are an ARKit capability. Query `ARFaceAnchor#getRegionPose(ARFaceRegion)` and handle a null result.

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `FOREHEAD_LEFT`
  The left side of the forehead (the person's left).
  `FOREHEAD_RIGHT`
  The right side of the forehead (the person's right).
  `LEFT_EYE`
  The center of the left eye (the person's left).
  `NOSE_TIP`
  The tip of the nose.
  `RIGHT_EYE`
  The center of the right eye (the person's right).

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ARFaceRegion`
  `valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static ARFaceRegion[]`
  `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`

  ### Methods inherited from class Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### NOSE_TIP

    public static final ARFaceRegion NOSE_TIP
    The tip of the nose.

  - ### FOREHEAD_LEFT

    public static final ARFaceRegion FOREHEAD_LEFT
    The left side of the forehead (the person's left).

  - ### FOREHEAD_RIGHT

    public static final ARFaceRegion FOREHEAD_RIGHT
    The right side of the forehead (the person's right).

  - ### LEFT_EYE

    public static final ARFaceRegion LEFT_EYE
    The center of the left eye (the person's left). May be unavailable on some platforms.

  - ### RIGHT_EYE

    public static final ARFaceRegion RIGHT_EYE
    The center of the right eye (the person's right). May be unavailable on some platforms.

- ## Method Details

  - ### values

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