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 intstatic final intstatic final intstatic final intstatic final boolean - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidlogCurrencyReceived(String currencyName, String source, int amount) voidlogCurrencySpent(String onItem, String currencyName, int amount) voidlogCustomEvent(String eventName, String[] tagPairs, Object[] fieldPairs) voidlogIAP(Config.ProductId id, com.badlogic.gdx.pay.Transaction transaction) voidlogLevelFinished(String type, String levelName, int realTime, int inGameTime) voidlogLevelStarted(String type, String levelName) voidvoidlogShopOfferPurchased(String priceItem, int priceCount, String boughtItem, int boughtCount) voidlogSignedIn(String method) voidlogSignedUp(String method) voidpreRender(float deltaTime) Called before the actual drawing of screens and systemsvoidsetup()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:ManagerCalled when all manager objects are already created and can be accessed- Specified by:
 setupin interfaceManager- Overrides:
 setupin classManager.ManagerAdapter
 - 
logLevelStarted
 - 
logLevelFinished
 - 
logCurrencyReceived
 - 
logCurrencySpent
 - 
logShopOfferPurchased
 - 
logSignedIn
 - 
logSignedUp
 - 
logCustomEvent
 - 
logIAP
 - 
logRewardedVideoViewed
 - 
preRender
public void preRender(float deltaTime) Description copied from interface:ManagerCalled before the actual drawing of screens and systems- Specified by:
 preRenderin interfaceManager- Overrides:
 preRenderin classManager.ManagerAdapter
 
 -