LiCoreInitializeDelegate Reference
Declared In: LiCore.framework/LiCoreDelegate.h
Overview
The LiCoreInitializeDelegate protocol is provided to allow applications to respond when LiCore.framework finishes various initialization tasks, so developers can better control when applications take certain actions that require Applicasa to be completely initialized.
Tasks
Initialization Methods
-
finishedInitializeLiCoreFrameworkWithUser:isFirstLoad:
-
liCoreHasNewUser:
-
finishedIntializedLiKitIAPWithVirtualCurrencies:VirtualGoods:
Delegate Methods
finishedInitializeLiCoreFrameworkWithUser:isFirstLoad:
Tells the delegate when LiCore.framework has finished basic initialization and has an active user available.
-
(void) finishedInitializeLiCoreFrameworkWithUser:(User *)user isFirstLoad:(BOOL)isFirst;
Parameters:
user
A User object representing the current application user.
isFirst
A BOOL value indicating if this is the first time the app has been used by the user.
liCoreHasNewUser:
Tells the delegate when LiCore.framework has a new user.
-
(void) liCoreHasNewUser:(User *)user;
Parameters:
user
A User object representing the current application user.
Discussion:
Instructs LiCore.framework to refresh promotions, reset user inventory and balances, and allows the delegate to take additional actions whenever a new user is present (e.g., previously anonymous user logged in).
finishedIntializedLiKitIAPWithVirtualCurrencies:VirtualGoods:
Tells the delegate when LiCore.framework has finished initializing In-App Purchase support, complete with VirtualGood and VirtualCurrency objects available from the Applicasa service, as defined by developers.
-
(void) finishedIntializedLiKitIAPWithVirtualCurrencies:(NSArray *)virtualCurrencies VirtualGoods:(NSArray *)virtualGoods;
Parameters:
virtualCurrencies
An NSArray of all VirtualCurrency objects synced from the Applicasa datastore.
virtualGoods
An NSArray of all VirtualGood objects synced from the Applicasa datastore.