Constructor Io Config
data class ConstructorIoConfig( val apiKey: String, val serviceUrl: String = BuildConfig.SERVICE_URL, val quizzesServiceUrl: String = BuildConfig.QUIZZES_SERVICE_URL, val segments: List<String> = emptyList(), val testCells: List<Pair<String, String>> = emptyList(), val autocompleteResultCount: Map<String, Int> = mapOf(Constants.QueryValues.SEARCH_SUGGESTIONS to 10, Constants.QueryValues.PRODUCTS to 0), val defaultItemSection: String = BuildConfig.DEFAULT_ITEM_SECTION, val servicePort: Int = BuildConfig.SERVICE_PORT, val serviceScheme: String = BuildConfig.SERVICE_SCHEME, val defaultAnalyticsTags: Map<String, String> = emptyMap())
Content copied to clipboard
Encapsulates configuration options for the Constructor SDK client
Constructors
Link copied to clipboard
fun ConstructorIoConfig( apiKey: String, serviceUrl: String = BuildConfig.SERVICE_URL, quizzesServiceUrl: String = BuildConfig.QUIZZES_SERVICE_URL, segments: List<String> = emptyList(), testCells: List<Pair<String, String>> = emptyList(), autocompleteResultCount: Map<String, Int> = mapOf(Constants.QueryValues.SEARCH_SUGGESTIONS to 10, Constants.QueryValues.PRODUCTS to 0), defaultItemSection: String = BuildConfig.DEFAULT_ITEM_SECTION, servicePort: Int = BuildConfig.SERVICE_PORT, serviceScheme: String = BuildConfig.SERVICE_SCHEME, defaultAnalyticsTags: Map<String, String> = emptyMap())
Content copied to clipboard