Top-level module for the Conviva App Tracker.
More...
|
| enum | cat_error_lang {
CAT_ERROR_LANG_UNKNOWN = 0
, CAT_ERROR_LANG_JAVA
, CAT_ERROR_LANG_SCALA
, CAT_ERROR_LANG_KOTLIN
,
CAT_ERROR_LANG_GROOVY
, CAT_ERROR_LANG_RUBY
, CAT_ERROR_LANG_GOLANG
, CAT_ERROR_LANG_JAVASCRIPT
,
CAT_ERROR_LANG_PHP
, CAT_ERROR_LANG_PYTHON
, CAT_ERROR_LANG_OBJECTIVEC
, CAT_ERROR_LANG_SWIFT
,
CAT_ERROR_LANG_C
, CAT_ERROR_LANG_CPLUSPLUS
, CAT_ERROR_LANG_CSHARP
, CAT_ERROR_LANG_ACTIONSCRIPT
,
CAT_ERROR_LANG_LUA
, CAT_ERROR_LANG_RUST
, CAT_ERROR_LANG_HASKELL
, CAT_ERROR_LANG_CLOJURE
,
CAT_ERROR_LANG_ERLANG
, CAT_ERROR_LANG_ELIXIR
, CAT_ERROR_LANG_CRYSTAL
, CAT_ERROR_LANG_PONY
,
CAT_ERROR_LANG_NIM
} |
| | Language of the error message. 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_BUILD_LENGTH
| #define CAT_MAX_APP_BUILD_LENGTH 64 |
◆ CAT_MAX_APP_NAME_LENGTH
| #define CAT_MAX_APP_NAME_LENGTH 64 |
◆ CAT_MAX_APP_VERSION_LENGTH
| #define CAT_MAX_APP_VERSION_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 |
◆ STR_MAX_LEN_1024
| #define STR_MAX_LEN_1024 1024 |
◆ STR_MAX_LEN_2048
| #define STR_MAX_LEN_2048 2048 |
◆ STR_MAX_LEN_8192
| #define STR_MAX_LEN_8192 8192 |
◆ cat_anr_info_t
Application Not Responding details.
◆ cat_app_error_info_t
Application Error Information.
◆ cat_app_info_t
Use to set the application details.
◆ cat_error_lang_t
Language of the error message.
◆ cat_network_request_info_t
Use to set the network request details.
◆ cat_screen_info_t
◆ cat_error_lang
Language of the error message.
| Enumerator |
|---|
| CAT_ERROR_LANG_UNKNOWN | |
| CAT_ERROR_LANG_JAVA | |
| CAT_ERROR_LANG_SCALA | |
| CAT_ERROR_LANG_KOTLIN | |
| CAT_ERROR_LANG_GROOVY | |
| CAT_ERROR_LANG_RUBY | |
| CAT_ERROR_LANG_GOLANG | |
| CAT_ERROR_LANG_JAVASCRIPT | |
| CAT_ERROR_LANG_PHP | |
| CAT_ERROR_LANG_PYTHON | |
| CAT_ERROR_LANG_OBJECTIVEC | |
| CAT_ERROR_LANG_SWIFT | |
| CAT_ERROR_LANG_C | |
| CAT_ERROR_LANG_CPLUSPLUS | |
| CAT_ERROR_LANG_CSHARP | |
| CAT_ERROR_LANG_ACTIONSCRIPT | |
| CAT_ERROR_LANG_LUA | |
| CAT_ERROR_LANG_RUST | |
| CAT_ERROR_LANG_HASKELL | |
| CAT_ERROR_LANG_CLOJURE | |
| CAT_ERROR_LANG_ERLANG | |
| CAT_ERROR_LANG_ELIXIR | |
| CAT_ERROR_LANG_CRYSTAL | |
| CAT_ERROR_LANG_PONY | |
| CAT_ERROR_LANG_NIM | |
◆ cat_clear_all_custom_tags()
| int cat_clear_all_custom_tags |
( |
| ) |
|
clear all custom tags
- Returns
-
◆ cat_clear_custom_tags()
| int cat_clear_custom_tags |
( |
char * |
keys[], |
|
|
int |
key_count |
|
) |
| |
clear the specific custom tags with keys
- Parameters
-
| keys,keys | to be deleted from tags. |
| key_count,number | of input keys. |
- Returns
-
◆ 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_application_info()
set application info, can set right after the tracker creation.
- Parameters
-
| app_info | application info parameters like buil, version and loading timing details. |
- Returns
-
◆ cat_set_custom_tags()
set the custom tags
- Parameters
-
| tags,tags | key-value pairs. |
- Returns
-
◆ 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_anr()
send the ANR(application not responding) event, shall send on unrecovered ANRs on next launch.
- Parameters
-
| anr_info,anr | info inlcudes time of ANRs start and reason. |
- Returns
-
◆ cat_track_app_install()
| int cat_track_app_install |
( |
void |
| ) |
|
notifies the app install event, normally calls on fresh launch after install or upgrade
- Returns
-
◆ cat_track_application_error()
send the application error to eco, use this API for realtime error tracking.
- Parameters
-
| error_info,error | info inlcudes message, exception, class, function details. |
- Returns
-
◆ 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()
send the screen info
- Parameters
-
| screen_info | details of the screen like name, type, load times. |
- Returns
- CAT_SUCCESS / CAT_ERROR