Package com.trimblemaps.mapsdk
Class MapStrictMode
java.lang.Object
com.trimblemaps.mapsdk.MapStrictMode
Using this class you can enable a strict mode that will throw the
MapStrictModeException
whenever the map would fail silently otherwise.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetStrictModeEnabled(boolean strictModeEnabled) Set the strict mode that will throw theMapStrictModeExceptionwhenever the map would fail silently otherwise.static voidstrictModeViolation(String message) Internal use.static voidstrictModeViolation(String message, Throwable throwable) Internal use.static voidstrictModeViolation(Throwable throwable) Internal use.
-
Constructor Details
-
MapStrictMode
public MapStrictMode()
-
-
Method Details
-
setStrictModeEnabled
public static void setStrictModeEnabled(boolean strictModeEnabled) Set the strict mode that will throw theMapStrictModeExceptionwhenever the map would fail silently otherwise.- Parameters:
strictModeEnabled- true to enable the strict mode, false otherwise
-
strictModeViolation
Internal use. Called whenever the strict mode violation occurs. -
strictModeViolation
Internal use. Called whenever the strict mode violation occurs. -
strictModeViolation
Internal use. Called whenever the strict mode violation occurs.
-