public class Piwik
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LOGGER_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationDomain() |
android.content.Context |
getContext() |
protected DispatcherFactory |
getDispatcherFactory() |
static Piwik |
getInstance(android.content.Context context) |
android.content.SharedPreferences |
getPiwikPreferences()
Base preferences, tracker idenpendent.
|
android.content.SharedPreferences |
getTrackerPreferences(Tracker tracker) |
Tracker |
newTracker(TrackerConfig trackerConfig) |
public static final java.lang.String LOGGER_PREFIX
public static Piwik getInstance(android.content.Context context)
public android.content.Context getContext()
public Tracker newTracker(@NonNull TrackerConfig trackerConfig)
trackerConfig - the Tracker configurationjava.lang.RuntimeException - if the supplied Piwik-Tracker URL is incompatiblepublic java.lang.String getApplicationDomain()
public android.content.SharedPreferences getPiwikPreferences()
public android.content.SharedPreferences getTrackerPreferences(@NonNull
Tracker tracker)
protected DispatcherFactory getDispatcherFactory()