| Modifier and Type | Field and Description |
|---|---|
protected static Log.Module |
L |
cly, ctx, sdkInterface| Modifier | Constructor and Description |
|---|---|
protected |
CountlyLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init(java.io.File directory,
Config config)
Initialize Countly.
|
static boolean |
isInitialized()
Returns whether Countly SDK has been already initialized or not.
|
static boolean |
isTracking(Config.Feature feature)
Returns whether Countly SDK has been given consent to record data for a particular
Config.Feature or not. |
static void |
stop(boolean clearData)
Stop Countly SDK.
|
addCrashReport, addCrashReport, addLocation, addParam, event, getSession, session, timedEvent, user, view, viewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeDeviceIdWithMerge, changeDeviceIdWithoutMerge, getDeviceId, login, logout, resetDeviceIdprotected static final Log.Module L
public static void init(java.io.File directory,
Config config)
directory - storage location for Countlyconfig - configuration objectpublic static void stop(boolean clearData)
clearData = true.clearData - whether to clear all Countly data or notpublic static boolean isInitialized()
public static boolean isTracking(Config.Feature feature)
Config.Feature or not.