-
public class ControllerManager
-
-
Field Summary
Fields Modifier and Type Field Description private InAppFCManagerinAppFCManagerprivate CTDisplayUnitControllerctDisplayUnitControllerprivate CTFeatureFlagsControllerctFeatureFlagsControllerprivate CTInboxControllerctInboxControllerprivate CTProductConfigControllerctProductConfigControllerprivate final CleverTapInstanceConfigconfigprivate InAppControllerinAppControllerprivate PushProviderspushProvidersprivate CTVariablesctVariables
-
Constructor Summary
Constructors Constructor Description ControllerManager(Context context, CleverTapInstanceConfig config, CTLockManager ctLockManager, BaseCallbackManager callbackManager, DeviceInfo deviceInfo, BaseDatabaseManager databaseManager)
-
Method Summary
Modifier and Type Method Description InAppFCManagergetInAppFCManager()voidsetInAppFCManager(InAppFCManager inAppFCManager)CTDisplayUnitControllergetCTDisplayUnitController()voidsetCTDisplayUnitController(CTDisplayUnitController CTDisplayUnitController)CTFeatureFlagsControllergetCTFeatureFlagsController()Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK. voidsetCTFeatureFlagsController(CTFeatureFlagsController CTFeatureFlagsController)Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK. CTInboxControllergetCTInboxController()voidsetCTInboxController(CTInboxController CTInboxController)CTProductConfigControllergetCTProductConfigController()Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK. voidsetCTProductConfigController(CTProductConfigController CTProductConfigController)Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK. CleverTapInstanceConfiggetConfig()InAppControllergetInAppController()voidsetInAppController(InAppController inAppController)PushProvidersgetPushProviders()voidsetPushProviders(PushProviders pushProviders)CTVariablesgetCtVariables()voidsetCtVariables(CTVariables ctVariables)voidinitializeInbox()voidinvokeCallbacksForNetworkError()voidinvokeBatchListener(JSONArray requestQueue, boolean success)Invokes the batch listener callback to notify about the completion of a batch operation. -
-
Constructor Detail
-
ControllerManager
ControllerManager(Context context, CleverTapInstanceConfig config, CTLockManager ctLockManager, BaseCallbackManager callbackManager, DeviceInfo deviceInfo, BaseDatabaseManager databaseManager)
-
-
Method Detail
-
getInAppFCManager
InAppFCManager getInAppFCManager()
-
setInAppFCManager
void setInAppFCManager(InAppFCManager inAppFCManager)
-
getCTDisplayUnitController
CTDisplayUnitController getCTDisplayUnitController()
-
setCTDisplayUnitController
void setCTDisplayUnitController(CTDisplayUnitController CTDisplayUnitController)
-
getCTFeatureFlagsController
@Deprecated() CTFeatureFlagsController getCTFeatureFlagsController()
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
setCTFeatureFlagsController
@Deprecated() void setCTFeatureFlagsController(CTFeatureFlagsController CTFeatureFlagsController)
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
getCTInboxController
CTInboxController getCTInboxController()
-
setCTInboxController
void setCTInboxController(CTInboxController CTInboxController)
-
getCTProductConfigController
@Deprecated() CTProductConfigController getCTProductConfigController()
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
setCTProductConfigController
@Deprecated() void setCTProductConfigController(CTProductConfigController CTProductConfigController)
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
getConfig
CleverTapInstanceConfig getConfig()
-
getInAppController
InAppController getInAppController()
-
setInAppController
void setInAppController(InAppController inAppController)
-
getPushProviders
PushProviders getPushProviders()
-
setPushProviders
void setPushProviders(PushProviders pushProviders)
-
getCtVariables
CTVariables getCtVariables()
-
setCtVariables
void setCtVariables(CTVariables ctVariables)
-
initializeInbox
@AnyThread() void initializeInbox()
-
invokeCallbacksForNetworkError
void invokeCallbacksForNetworkError()
-
invokeBatchListener
void invokeBatchListener(JSONArray requestQueue, boolean success)
Invokes the batch listener callback to notify about the completion of a batch operation.
- Parameters:
requestQueue- The JSON array representing the batch request sent to server.success- true when the batch operation was successful, false when no network or CleverTapinstance is set to offline mode or request is failed.
-
-
-
-