Builder

class Builder : STRConfig.Builder<StorylyVerticalFeedConfig.Builder>

Functions

build
Link copied to clipboard
open override fun build(): StorylyVerticalFeedConfig
setCustomParameter
Link copied to clipboard
fun setCustomParameter(parameter: String?): StorylyVerticalFeedConfig.Builder

This function allows you to set custom parameter for analytical purposes

setLabels
Link copied to clipboard
fun setLabels(labels: Set<String>?): StorylyVerticalFeedConfig.Builder

This function allows you to set labels for current instance

setLayoutDirection
Link copied to clipboard

This function allows you to change the layout direction.

setLocale
Link copied to clipboard
fun setLocale(locale: String?): StorylyVerticalFeedConfig.Builder

This function allows you to set localization to Storyly, sample convention is en-GB. Current supported languages for sdk texts are: de, en, es, fr, he, pt, ru, tr

setLogLevel
Link copied to clipboard
fun setLogLevel(level: StorylyLogLevel): StorylyVerticalFeedConfig.Builder

This function allows you to set log level of the Storyly IMPORTANT: Log level affects all Storyly widgets Default: OFF

setMaxItemCount
Link copied to clipboard
fun setMaxItemCount(count: Int): StorylyVerticalFeedConfig.Builder

This function allows you to set maxItemCount.

setProductConfig
Link copied to clipboard

This function allows you to set StorylyProductConfig.

setShareConfig
Link copied to clipboard

This function allows you to set StorylyShareConfig.

setTestMode
Link copied to clipboard
fun setTestMode(isTest: Boolean): StorylyVerticalFeedConfig.Builder

This function allows you to set IsTestMode which defines whether it is a test device or not. If true, test groups are sent from the server.

setUserData
Link copied to clipboard
fun setUserData(data: Map<String, String>): StorylyVerticalFeedConfig.Builder

This function allows you to set user specific information to fill the story/story group data

setVerticalFeedBarStyling
Link copied to clipboard

This function allows you to set StorylyVerticalFeedBarStyling.

setVerticalFeedGroupStyling
Link copied to clipboard

This function allows you to set StorylyVerticalFeedGroupStyling.

setVerticalFeedStyling
Link copied to clipboard

This function allows you to set StorylyVerticalFeedCustomization.