Package com.prineside.tdi2.managers
Class AnalyticsManager
java.lang.Object
com.prineside.tdi2.Manager.ManagerAdapter
com.prineside.tdi2.managers.AnalyticsManager
- All Implemented Interfaces:
Disposable
,Manager
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.prineside.tdi2.Manager
Manager.ManagerAdapter, Manager.ManagerWithListeners<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
logCurrencyReceived
(String currencyName, String source, int amount) void
logCurrencySpent
(String onItem, String currencyName, int amount) void
logCustomEvent
(String eventName, String[] tagPairs, Object[] fieldPairs) void
logIAP
(Config.ProductId id, com.badlogic.gdx.pay.Transaction transaction) void
logLevelFinished
(String type, String levelName, int realTime, int inGameTime) void
logLevelStarted
(String type, String levelName) void
void
logShopOfferPurchased
(String priceItem, int priceCount, String boughtItem, int boughtCount) void
logSignedIn
(String method) void
logSignedUp
(String method) void
preRender
(float deltaTime) Called before the actual drawing of screens and systemsvoid
setup()
Called when all manager objects are already created and can be accessedMethods inherited from class com.prineside.tdi2.Manager.ManagerAdapter
dispose, postRender, test
-
Field Details
-
TIME_SERIES_DB_ENABLED
public static final boolean TIME_SERIES_DB_ENABLED- See Also:
-
MAX_QUEUE_SIZE
public static final int MAX_QUEUE_SIZE- See Also:
-
HEARTBEAT_INTERVAL
public static final int HEARTBEAT_INTERVAL- See Also:
-
FLUSH_INTERVAL
public static final int FLUSH_INTERVAL- See Also:
-
FLUSH_CHECK_INTERVAL
public static final int FLUSH_CHECK_INTERVAL- See Also:
-
-
Constructor Details
-
AnalyticsManager
public AnalyticsManager()
-
-
Method Details
-
setup
public void setup()Description copied from interface:Manager
Called when all manager objects are already created and can be accessed- Specified by:
setup
in interfaceManager
- Overrides:
setup
in classManager.ManagerAdapter
-
logLevelStarted
-
logLevelFinished
-
logCurrencyReceived
-
logCurrencySpent
-
logShopOfferPurchased
-
logSignedIn
-
logSignedUp
-
logCustomEvent
-
logIAP
-
logRewardedVideoViewed
-
preRender
public void preRender(float deltaTime) Description copied from interface:Manager
Called before the actual drawing of screens and systems- Specified by:
preRender
in interfaceManager
- Overrides:
preRender
in classManager.ManagerAdapter
-