Class TrackingAPI
- java.lang.Object
-
- com.cheetahdigital.corekit.models.module.Controller
-
- com.cheetahdigital.corekit.authentication.core.api.TrackingAPI
-
- All Implemented Interfaces:
RestController
public class TrackingAPI extends Controller
Cheetah Loyalty Tracking Module
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.models.module.Controller
STANDARD_DATE_FORMAT, TIMEZONE_DATE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description TrackingAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
trackMessage(TrackingParams queryParams, int id, Listener<SuccessResponse> callback)
Tracks the message of the user whether it was delivered or openedvoid
trackUsage(TrackingParams queryParams)
Track the users activity Once the app is launched the user will be tagged as active-
Methods inherited from class com.cheetahdigital.corekit.models.module.Controller
createCache, createHttpClient, createRetrofitInterface, evictAllCache, getGsonConfiguration, getRestAdapter, getTimeoutConnectionInSeconds, getTimeoutSocketInSeconds, initialize, removeResponsesFromCache
-
-
-
-
Method Detail
-
trackMessage
public void trackMessage(TrackingParams queryParams, int id, Listener<SuccessResponse> callback)
Tracks the message of the user whether it was delivered or opened- Parameters:
queryParams
-TrackingParams
id
- message idcallback
- listener if tracking is successful or not
-
trackUsage
public void trackUsage(TrackingParams queryParams)
Track the users activity Once the app is launched the user will be tagged as active- Parameters:
queryParams
-TrackingParams
-
-