StorylyInit

data class StorylyInit(storylyId: String)

This class triggers initialization of Storyly

Constructors

StorylyInit
Link copied to clipboard
fun StorylyInit(storylyId: String, segmentation: StorylySegmentation = StorylySegmentation(null), isTestMode: Boolean = false, storylyPayload: String? = null, customParameter: String? = null, userData: Map<String, String> = mapOf())

Alternative constructor for the initialization of Storyly

StorylyInit
Link copied to clipboard
fun StorylyInit(storylyId: String)

Properties

segmentation
Link copied to clipboard
var segmentation: StorylySegmentation

This property is the StorylySegmentation instance to target story groups for the user

storylyId
Link copied to clipboard
val storylyId: String

Instance token from Storyly dashboard

userData
Link copied to clipboard
var userData: Map<String, String>

This property is the user specific information to fill the story/story group data