-
public class AnalyticsManager extends BaseAnalyticsManager
-
-
Method Summary
Modifier and Type Method Description voidaddMultiValuesForKey(String key, ArrayList<String> values)voidincrementValue(String key, Number value)voiddecrementValue(String key, Number value)voidfetchFeatureFlags()This method is internal to the CleverTap SDK. voidforcePushAppLaunchedEvent()voidpushAppLaunchedEvent()voidpushDefineVarsEvent(JSONObject data)voidpushDisplayUnitClickedEventForID(String unitID)voidpushDisplayUnitViewedEventForID(String unitID)voidpushError(String errorMessage, int errorCode)voidpushEvent(String eventName, Map<String, Object> eventActions)voidpushInAppNotificationStateEvent(boolean clicked, CTInAppNotification data, Bundle customData)Raises the Notification Clicked event, if {@param clicked} is true,otherwise the Notification Viewed event, if {@param clicked} is false. voidpushInstallReferrer(String url)synchronized voidpushInstallReferrer(String source, String medium, String campaign)voidpushNotificationClickedEvent(Bundle extras)StringwrapImageInterstitialContent(String content)Wraps the provided content with HTML obtained from the image-interstitial file. voidpushNotificationViewedEvent(Bundle extras)Pushes the Notification Viewed event to CleverTap. voidpushProfile(Map<String, Object> profile)voidremoveMultiValuesForKey(String key, ArrayList<String> values)voidremoveValueForKey(String key)voidsendDataEvent(JSONObject event)voidsendPingEvent(JSONObject eventObject)voidsendFetchEvent(JSONObject eventObject)-
Methods inherited from class com.clevertap.android.sdk.BaseAnalyticsManager
addMultiValuesForKey, pushError, pushInAppNotificationStateEvent, pushNotificationClickedEvent, pushProfile, removeMultiValuesForKey, removeValueForKey, sendDataEvent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
addMultiValuesForKey
void addMultiValuesForKey(String key, ArrayList<String> values)
-
incrementValue
void incrementValue(String key, Number value)
-
decrementValue
void decrementValue(String key, Number value)
-
fetchFeatureFlags
void fetchFeatureFlags()
This method is internal to the CleverTap SDK.Developers should not use this method manually
-
forcePushAppLaunchedEvent
void forcePushAppLaunchedEvent()
-
pushAppLaunchedEvent
void pushAppLaunchedEvent()
-
pushDefineVarsEvent
void pushDefineVarsEvent(JSONObject data)
-
pushDisplayUnitClickedEventForID
void pushDisplayUnitClickedEventForID(String unitID)
-
pushDisplayUnitViewedEventForID
void pushDisplayUnitViewedEventForID(String unitID)
-
pushInAppNotificationStateEvent
void pushInAppNotificationStateEvent(boolean clicked, CTInAppNotification data, Bundle customData)
Raises the Notification Clicked event, if {@param clicked} is true,otherwise the Notification Viewed event, if {@param clicked} is false.
- Parameters:
clicked- Whether or not this notification was clickeddata- The data to be attached as the event datacustomData- Additional data such as form input to to be added to the event data
-
pushInstallReferrer
void pushInstallReferrer(String url)
-
pushInstallReferrer
synchronized void pushInstallReferrer(String source, String medium, String campaign)
-
pushNotificationClickedEvent
void pushNotificationClickedEvent(Bundle extras)
-
wrapImageInterstitialContent
String wrapImageInterstitialContent(String content)
Wraps the provided content with HTML obtained from the image-interstitial file.
- Parameters:
content- The content to be wrapped within the image-interstitial HTML.
-
pushNotificationViewedEvent
void pushNotificationViewedEvent(Bundle extras)
Pushes the Notification Viewed event to CleverTap.
- Parameters:
extras- The Bundle object that contains thenotification details
-
pushProfile
void pushProfile(Map<String, Object> profile)
-
removeMultiValuesForKey
void removeMultiValuesForKey(String key, ArrayList<String> values)
-
removeValueForKey
void removeValueForKey(String key)
-
sendDataEvent
void sendDataEvent(JSONObject event)
-
sendPingEvent
void sendPingEvent(JSONObject eventObject)
-
sendFetchEvent
void sendFetchEvent(JSONObject eventObject)
-
-
-
-