Top-level module for the Conviva App Tracker.
More...
Top-level module for the Conviva App Tracker.
The application should call
◆ CAT_ERROR
◆ CAT_INPUT_ERROR
| #define CAT_INPUT_ERROR -3 |
◆ CAT_MAX_APP_NAME_LENGTH
| #define CAT_MAX_APP_NAME_LENGTH 64 |
◆ CAT_MAX_BODY_LENGTH
| #define CAT_MAX_BODY_LENGTH 10000 |
◆ CAT_MAX_IID_LENGTH
| #define CAT_MAX_IID_LENGTH 64 |
◆ CAT_MAX_METHOD_LENGTH
| #define CAT_MAX_METHOD_LENGTH 15 |
◆ CAT_MAX_URL_LENGTH
| #define CAT_MAX_URL_LENGTH 1024 |
◆ CAT_MAX_USER_ID_LENGTH
| #define CAT_MAX_USER_ID_LENGTH 64 |
◆ CAT_MEMORY_ERROR
| #define CAT_MEMORY_ERROR -1 |
◆ CAT_MUTEX_ERROR
| #define CAT_MUTEX_ERROR -2 |
◆ CAT_SUCCESS
◆ CAT_TIMER_ERROR
| #define CAT_TIMER_ERROR -4 |
◆ CCL_APP_MAX_SCREEN_ID_LEN
| #define CCL_APP_MAX_SCREEN_ID_LEN 38 |
◆ CCL_APP_MAX_SCREEN_NAME_LEN
| #define CCL_APP_MAX_SCREEN_NAME_LEN 1024 |
◆ cat_network_request_info_t
Use to set the network request details.
◆ cat_pause_tracker()
| int cat_pause_tracker |
( |
void |
| ) |
|
pause the app tracker to stop monitoring
- Returns
-
◆ cat_resume_tracker()
| int cat_resume_tracker |
( |
void |
| ) |
|
resume the app tracker to start monitoring again
- Returns
-
◆ cat_send_custom_event()
send custom event to eco
- Parameters
-
| name | name of the event |
| attributes | attributes for the event, can be empty dictionary |
- Returns
- CAT_SUCCESS / CAT_ERROR
◆ cat_set_user_id()
| int cat_set_user_id |
( |
const char * |
uid | ) |
|
Sets the user ID for ECO.
- Parameters
-
- Returns
- CAT_SUCCESS / CAT_ERROR
◆ cat_track_network_request()
send the network request info to eco
- Parameters
-
| nw_info | network info parameters, memory has to be allocated and freed for nw_info. |
- Returns
- CAT_SUCCESS / CAT_ERROR
◆ cat_track_screen_view()
| int cat_track_screen_view |
( |
const char * |
name, |
|
|
const char * |
screen_type |
|
) |
| |
send the screen info
- Parameters
-
| name | name/title of the screen, mandatory field |
| screen_type | type of the screen if available, optional field |
- Returns
- CAT_SUCCESS / CAT_ERROR