public final class ARAnchorEvent

  1. Object
  2. ARAnchorEvent
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.

Nested types

enum ARAnchorEvent.KindThe kind of change that occurred.

Methods

public ARAnchorEvent.Kind getKind()The kind of change that occurred.
public ARAnchor getAnchor()The anchor that changed.
public ARSession getSession()The session the anchor belongs to.

Inherited methods

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.