Sternum Android SDK
Loading...
Searching...
No Matches
com.sternum.cloud.SternumSDKSettings Class Reference

Public Attributes

String sternumURL
 
BigInteger accessToken
 
String firmwareVersion
 
boolean isProduction
 
long maxCacheSizeBytes
 
boolean forceSyncCache
 When set to true, the cache file is synchronized to disk after every write, improving resilience against unexpected reboots or power losses. When set to false, synchronization is deferred and performed after a batch of writes, which improves performance at the cost of durability.
 
boolean relayOverrideDeviceID
 
boolean loadNative
 
SternumTransmissionCallbacks callbacks
 

Member Data Documentation

◆ accessToken

BigInteger com.sternum.cloud.SternumSDKSettings.accessToken

Device definition id for traces transmitted from the importing application.

◆ callbacks

SternumTransmissionCallbacks com.sternum.cloud.SternumSDKSettings.callbacks

Optional callback functions that the SDK can invoke during transmission operation. If a callback object or specific callback member is set to null, the SDK will safely proceed without invoking it.

◆ firmwareVersion

String com.sternum.cloud.SternumSDKSettings.firmwareVersion

String identifying target application firmware version.

◆ isProduction

boolean com.sternum.cloud.SternumSDKSettings.isProduction

If the application is in production/development phase. The SDK will report this status to the cloud during initialization for diagnostic purposes.

◆ loadNative

boolean com.sternum.cloud.SternumSDKSettings.loadNative

Specify false if you wish to load on your own the native implementation of the SDK.

◆ maxCacheSizeBytes

long com.sternum.cloud.SternumSDKSettings.maxCacheSizeBytes

The maximum amount of bytes to store on disk when caching traces. Cache is automatically emptied when internet connection is available. Recommended minimum: 65KB.

◆ relayOverrideDeviceID

boolean com.sternum.cloud.SternumSDKSettings.relayOverrideDeviceID

If a remote device that originated the relayed traces cannot have a random device ID, set to true and the application's device ID will be used for the relayed traces.

◆ sternumURL

String com.sternum.cloud.SternumSDKSettings.sternumURL

Your dedicated transmission URL.