Class CameraMode

java.lang.Object
com.trimblemaps.mapsdk.location.modes.CameraMode

public final class CameraMode extends Object
Contains the variety of camera modes which determine how the camera will track the user location.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Determine the camera tracking behavior in the LocationComponent.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    No camera tracking.
    static final int
    Camera does not track location, but does track compass bearing.
    static final int
    Camera does not track location, but does track GPS Location bearing.
    static final int
    Camera tracks the user location.
    static final int
    Camera tracks the user location, with bearing provided by a compass.
    static final int
    Camera tracks the user location, with bearing provided by a normalized Location.getBearing().
    static final int
    Camera tracks the user location, with bearing always set to north (0).
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • NONE

      public static final int NONE
      No camera tracking.
      See Also:
    • NONE_COMPASS

      public static final int NONE_COMPASS
      Camera does not track location, but does track compass bearing.
      See Also:
    • NONE_GPS

      public static final int NONE_GPS
      Camera does not track location, but does track GPS Location bearing.
      See Also:
    • TRACKING

      public static final int TRACKING
      Camera tracks the user location.
      See Also:
    • TRACKING_COMPASS

      public static final int TRACKING_COMPASS
      Camera tracks the user location, with bearing provided by a compass.
      See Also:
    • TRACKING_GPS

      public static final int TRACKING_GPS
      Camera tracks the user location, with bearing provided by a normalized Location.getBearing().
      See Also:
    • TRACKING_GPS_NORTH

      public static final int TRACKING_GPS_NORTH
      Camera tracks the user location, with bearing always set to north (0).
      See Also: