-
@RestrictTo(value = Scope.LIBRARY) public class CallbackManager extends BaseCallbackManager
-
-
Field Summary
Fields Modifier and Type Field Description private GeofenceCallbackgeofenceCallbackprivate SCDomainListenerscDomainListenerprivate WeakReference<InAppNotificationButtonListener>inAppNotificationButtonListenerprivate InAppNotificationListenerinAppNotificationListenerprivate final List<PushPermissionResponseListener>pushPermissionResponseListenerListprivate CTInboxListenerinboxListenerprivate FailureFlushListenerfailureFlushListenerprivate WeakReference<CTProductConfigListener>productConfigListenerprivate CTPushAmpListenerpushAmpListenerprivate CTPushNotificationListenerpushNotificationListenerprivate SyncListenersyncListenerprivate FetchInAppsCallbackfetchInAppsCallbackprivate final List<ChangeUserCallback>changeUserCallbackListprivate FetchVariablesCallbackfetchVariablesCallbackprivate BatchListenerbatchListener
-
Constructor Summary
Constructors Constructor Description CallbackManager(CleverTapInstanceConfig config, DeviceInfo deviceInfo)
-
Method Summary
-
Methods inherited from class com.clevertap.android.sdk.BaseCallbackManager
addOnInitCleverTapIDListener, notifyCleverTapIDChanged, removeOnInitCleverTapIDListener, setFailureFlushListener, setFeatureFlagListener, setFetchVariablesCallback, setGeofenceCallback, setInAppNotificationListener, setInboxListener, setProductConfigListener, setPushAmpListener, setPushNotificationListener, setSyncListener -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CallbackManager
CallbackManager(CleverTapInstanceConfig config, DeviceInfo deviceInfo)
-
-
Method Detail
-
getGeofenceCallback
GeofenceCallback getGeofenceCallback()
-
setGeofenceCallback
void setGeofenceCallback(GeofenceCallback geofenceCallback)
-
getSCDomainListener
SCDomainListener getSCDomainListener()
-
setSCDomainListener
void setSCDomainListener(SCDomainListener scDomainListener)
-
setInAppNotificationButtonListener
void setInAppNotificationButtonListener(InAppNotificationButtonListener inAppNotificationButtonListener)
-
getInAppNotificationListener
InAppNotificationListener getInAppNotificationListener()
-
setInAppNotificationListener
void setInAppNotificationListener(InAppNotificationListener inAppNotificationListener)
-
getPushPermissionResponseListenerList
List<PushPermissionResponseListener> getPushPermissionResponseListenerList()
-
getInboxListener
CTInboxListener getInboxListener()
-
setInboxListener
void setInboxListener(CTInboxListener inboxListener)
-
getFailureFlushListener
FailureFlushListener getFailureFlushListener()
-
setFailureFlushListener
void setFailureFlushListener(FailureFlushListener failureFlushListener)
-
setProductConfigListener
@Deprecated() void setProductConfigListener(CTProductConfigListener productConfigListener)
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
getPushAmpListener
CTPushAmpListener getPushAmpListener()
-
setPushAmpListener
void setPushAmpListener(CTPushAmpListener pushAmpListener)
-
getPushNotificationListener
CTPushNotificationListener getPushNotificationListener()
-
setPushNotificationListener
void setPushNotificationListener(CTPushNotificationListener pushNotificationListener)
-
getSyncListener
SyncListener getSyncListener()
-
setSyncListener
void setSyncListener(SyncListener syncListener)
-
getFetchInAppsCallback
FetchInAppsCallback getFetchInAppsCallback()
-
setFetchInAppsCallback
void setFetchInAppsCallback(FetchInAppsCallback fetchInAppsCallback)
-
getChangeUserCallbackList
List<ChangeUserCallback> getChangeUserCallbackList()
-
getFetchVariablesCallback
@Nullable() FetchVariablesCallback getFetchVariablesCallback()
-
setFetchVariablesCallback
void setFetchVariablesCallback(FetchVariablesCallback fetchVariablesCallback)
-
getBatchListener
BatchListener getBatchListener()
-
setBatchListener
void setBatchListener(BatchListener batchListener)
-
_notifyInboxMessagesDidUpdate
void _notifyInboxMessagesDidUpdate()
-
addChangeUserCallback
void addChangeUserCallback(ChangeUserCallback callback)
-
removeChangeUserCallback
void removeChangeUserCallback(ChangeUserCallback callback)
-
getFeatureFlagListener
@Deprecated() CTFeatureFlagsListener getFeatureFlagListener()
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
setFeatureFlagListener
@Deprecated() void setFeatureFlagListener(CTFeatureFlagsListener listener)
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
registerPushPermissionResponseListener
void registerPushPermissionResponseListener(PushPermissionResponseListener pushPermissionResponseListener)
-
unregisterPushPermissionResponseListener
void unregisterPushPermissionResponseListener(PushPermissionResponseListener pushPermissionResponseListener)
-
addOnInitCleverTapIDListener
void addOnInitCleverTapIDListener(@NonNull() OnInitCleverTapIDListener onInitCleverTapIDListener)
-
removeOnInitCleverTapIDListener
void removeOnInitCleverTapIDListener(@NonNull() OnInitCleverTapIDListener listener)
-
notifyCleverTapIDChanged
void notifyCleverTapIDChanged(String id)
-
notifyUserProfileInitialized
void notifyUserProfileInitialized(String deviceID)
-
setDisplayUnitListener
void setDisplayUnitListener(DisplayUnitListener listener)
-
notifyDisplayUnitsLoaded
void notifyDisplayUnitsLoaded(ArrayList<CleverTapDisplayUnit> displayUnits)
Notify the registered Display Unit listener about the running Display Unit campaigns
- Parameters:
displayUnits- - Array of Display Units CleverTapDisplayUnit
-
-
-
-