Package io. constructor. core
Types
Link copied to clipboard
Link copied to clipboard
The Constructor SDK client used for getting results and tracking behavioural data.
Link copied to clipboard
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