Class MapStrictMode

java.lang.Object
com.trimblemaps.mapsdk.MapStrictMode

public class MapStrictMode extends Object
Using this class you can enable a strict mode that will throw the MapStrictModeException whenever the map would fail silently otherwise.
  • Constructor Details

    • MapStrictMode

      public MapStrictMode()
  • Method Details

    • setStrictModeEnabled

      public static void setStrictModeEnabled(boolean strictModeEnabled)
      Set the strict mode that will throw the MapStrictModeException whenever the map would fail silently otherwise.
      Parameters:
      strictModeEnabled - true to enable the strict mode, false otherwise
    • strictModeViolation

      public static void strictModeViolation(String message)
      Internal use. Called whenever the strict mode violation occurs.
    • strictModeViolation

      public static void strictModeViolation(String message, Throwable throwable)
      Internal use. Called whenever the strict mode violation occurs.
    • strictModeViolation

      public static void strictModeViolation(Throwable throwable)
      Internal use. Called whenever the strict mode violation occurs.