|
Conviva Client Library
2.185.0.2
|
|
19 #include "ccl_dictionary.h"
21 #define CAT_MAX_APP_NAME_LENGTH 64
22 #define CAT_MAX_USER_ID_LENGTH 64
23 #define CAT_MAX_IID_LENGTH 64
25 #define CCL_APP_MAX_SCREEN_NAME_LEN 1024
26 #define CCL_APP_MAX_SCREEN_ID_LEN 38
29 #define CAT_MAX_URL_LENGTH 1024
30 #define CAT_MAX_METHOD_LENGTH 15
31 #define CAT_MAX_BODY_LENGTH 10000 // 10 KB
33 #define CAT_MEMORY_ERROR -1
34 #define CAT_MUTEX_ERROR -2
35 #define CAT_INPUT_ERROR -3
36 #define CAT_TIMER_ERROR -4
int cat_track_screen_view(const char *name, const char *screen_type)
send the screen info
void * request_body
Definition: app_tracker.h:61
struct ccl_dictionary ccl_dictionary_t
Definition: ccl_dictionary.h:18
void * response_body
Definition: app_tracker.h:63
uint64_t request_timestamp
Definition: app_tracker.h:51
Use to set the network request details.
Definition: app_tracker.h:42
int response_code
Definition: app_tracker.h:49
int cat_set_user_id(const char *uid)
Sets the user ID for ECO.
void * request_header
Definition: app_tracker.h:57
void * response_header
Definition: app_tracker.h:59
int cat_pause_tracker(void)
pause the app tracker to stop monitoring
#define CAT_MAX_URL_LENGTH
Definition: app_tracker.h:29
int cat_resume_tracker(void)
resume the app tracker to start monitoring again
char target_url[CAT_MAX_URL_LENGTH]
Definition: app_tracker.h:45
int cat_track_network_request(cat_network_request_info_t *nw_info)
send the network request info to eco
int cat_send_custom_event(const char *name, ccl_dictionary_t *attributes)
send custom event to eco
uint64_t response_timestamp
Definition: app_tracker.h:53
#define CAT_MAX_METHOD_LENGTH
Definition: app_tracker.h:30
struct cat_network_request_info cat_network_request_info_t
Use to set the network request details.
char method[CAT_MAX_METHOD_LENGTH]
Definition: app_tracker.h:47