HTConfig
data class HTConfig( val json: JsonObject, val locationConfig: LocationConfig, val syncConfig: SyncConfig, val baseApiUrl: String = BuildConfig.DEFAULT_API, val authenticationUrl: String = String.format(Locale.US, "%sauthenticate", baseApiUrl), val deviceSettingsUrl: String = String.format(Locale.US, "%sdevice-settings", baseApiUrl), val deviceInfoUrlBase: String = String.format(Locale.US, "%sdevice-info/", baseApiUrl), val transmissionConfig: TransmissionConfig = TransmissionConfig(
String.format(Locale.US, "%sevents", baseApiUrl),
String.format(Locale.US, "%scustom-events", baseApiUrl)
), val maxFetchConfigRetryAttempts: Int = 2) : Serializable
Content copied to clipboard
Constructors
Link copied to clipboard
fun HTConfig( json: JsonObject, locationConfig: LocationConfig, syncConfig: SyncConfig, baseApiUrl: String = BuildConfig.DEFAULT_API, authenticationUrl: String = String.format(Locale.US, "%sauthenticate", baseApiUrl), deviceSettingsUrl: String = String.format(Locale.US, "%sdevice-settings", baseApiUrl), deviceInfoUrlBase: String = String.format(Locale.US, "%sdevice-info/", baseApiUrl), transmissionConfig: TransmissionConfig = TransmissionConfig(
String.format(Locale.US, "%sevents", baseApiUrl),
String.format(Locale.US, "%scustom-events", baseApiUrl)
), maxFetchConfigRetryAttempts: Int = 2)
Content copied to clipboard