| 
    Sternum Android SDK
    
   | 
 
Defines the SDK's C API. More...
#include "device_type.h"#include "error_codes.h"#include "sternum_trace_api.h"Go to the source code of this file.
Functions | |
| sternum_code_t | sternum_sdk_initialize (const char *sternum_url, bool relay_override_device_id, uint64_t sdk_device_definition_id, bool is_production, size_t max_cache_size) | 
| Initializes the Sternum SDK.   | |
| sternum_code_t | sternum_sdk_relay_device_data (const device_type_e device_type, const void *data, size_t size) | 
| transmit relayed data that was received from a remote device.   | |
| sternum_code_t | sternum_sdk_flush (void) | 
| Flush transmission queue.   | |
| void | sternum_sdk_close (void) | 
| Closes the Sternum SDK. Call initialize to reinitialize.   | |
Defines the SDK's C API.
| void sternum_sdk_close | ( | void | ) | 
Closes the Sternum SDK. Call initialize to reinitialize.
| sternum_code_t sternum_sdk_flush | ( | void | ) | 
Flush transmission queue.
| sternum_code_t sternum_sdk_initialize | ( | const char * | sternum_url, | 
| bool | relay_override_device_id, | ||
| uint64_t | sdk_device_definition_id, | ||
| bool | is_production, | ||
| size_t | max_cache_size | ||
| ) | 
Initializes the Sternum SDK.
Function is not implemented. Please initialize using the Java API.
| sternum_code_t sternum_sdk_relay_device_data | ( | const device_type_e | device_type, | 
| const void * | data, | ||
| size_t | size | ||
| ) | 
transmit relayed data that was received from a remote device.
| device_type | each device type as its own channel for relaying sternum traces. If you are relaying multiple devices in parallel, please make sure to assign each a different device type. | 
| data | data to relay. | 
| size | the size of the data. |