Class ARAltitudeSource


  • public final class ARAltitudeSource
    extends java.lang.Object
    Keeps track of where an ARGeoAnchor altitude value came from and informs the user about the expected accuracy.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Coarse
      ARKit determined altitude based on a coarse digital elevation model.
      static long Precise
      ARKit determined altitude based on a high resolution digital elevation model.
      static long Unknown
      Altitude could not be determined (yet).
      static long UserDefined
      Altitude was provided by the user.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Unknown

        public static final long Unknown
        Altitude could not be determined (yet).
        See Also:
        Constant Field Values
      • Coarse

        public static final long Coarse
        ARKit determined altitude based on a coarse digital elevation model. The provided value is too imprecise to be used at close range, but is sufficient to anchor far away content.
        See Also:
        Constant Field Values
      • Precise

        public static final long Precise
        ARKit determined altitude based on a high resolution digital elevation model.
        See Also:
        Constant Field Values
      • UserDefined

        public static final long UserDefined
        Altitude was provided by the user.
        See Also:
        Constant Field Values