Class ARAnchorEvent

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

public final class ARAnchorEvent extends Object
Describes a change to an ARAnchor, delivered to ARAnchorListeners 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.
  • 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.