Sternum Android SDK
Loading...
Searching...
No Matches
sternum_sdk.h
Go to the documentation of this file.
1
6#ifndef __STERNUM_SDK_H__
7#define __STERNUM_SDK_H__
8
9#ifdef __cplusplus
10 extern "C" {
11#endif
12
13#include "device_type.h"
14#include "error_codes.h"
15#include "sternum_trace_api.h"
16
17
23 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);
24
36 sternum_code_t sternum_sdk_relay_device_data(const device_type_e device_type, const void* data, size_t size);
37
46 sternum_code_t sternum_sdk_flush(void);
47
55
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* __STERNUM_SDK_H__ */
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_flush(void)
Flush transmission queue.
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.
void sternum_sdk_close(void)
Closes the Sternum SDK. Call initialize to reinitialize.