public class ThreadUtils
extends java.lang.Object
Verification only runs for debug builds.
| Constructor | Description |
|---|---|
ThreadUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
checkThread(java.lang.String origin) |
Validates if execution is running on the main thread.
|
static ThreadUtils |
init(android.content.Context context) |
Initialises the thread utils, verifies debug state of the consuming app.
|
public static ThreadUtils init(@NonNull android.content.Context context)
context - Context hosting the TrimbleMaps Maps SDK for Androidpublic static void checkThread(@NonNull
java.lang.String origin)
origin - the origin of the execution