# Class ARAnchorEvent

java.lang.Object
com.codename1.ar.ARAnchorEvent

public final class ARAnchorEvent extends Object
Describes a change to an `ARAnchor`, delivered to `ARAnchorListener`s on the EDT. Anchors recognized by the platform - detected reference images and tracked faces - arrive here as `ARImageAnchor` / `ARFaceAnchor` subtypes; use `instanceof` to handle them specifically.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `ARAnchorEvent.Kind`
  The kind of change that occurred.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ARAnchor`
  `getAnchor()`
  The anchor that changed.
  `ARAnchorEvent.Kind`
  `getKind()`
  The kind of change that occurred.
  `ARSession`
  `getSession()`
  The session the anchor belongs to.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getKind

    public ARAnchorEvent.Kind getKind()
    The kind of change that occurred.

  - ### getAnchor

    public ARAnchor getAnchor()
    The anchor that changed.

  - ### getSession

    public ARSession getSession()
    The session the anchor belongs to.