StorylyInit

data class StorylyInit @JvmOverloads() constructor(storylyId: String, segmentation: StorylySegmentation, isTestMode: Boolean)

This class triggers initialization of Storyly

Constructors

StorylyInit
Link copied to clipboard
fun StorylyInit(storylyId: String, segmentation: StorylySegmentation = StorylySegmentation(null), customParameter: String?, isTestMode: Boolean = false)
StorylyInit
Link copied to clipboard
fun StorylyInit(storylyId: String, isTestMode: Boolean)
StorylyInit
Link copied to clipboard
fun StorylyInit(storylyId: String, segmentation: StorylySegmentation = StorylySegmentation(null), isTestMode: Boolean = false)

Properties

isTestMode
Link copied to clipboard
val isTestMode: Boolean = false
IsTestMode defines whether it is a test device or not.
segmentation
Link copied to clipboard
val segmentation: StorylySegmentation
StorylySegmentation instance to target story groups for the user
storylyId
Link copied to clipboard
val storylyId: String
Instance token from Storyly dashboard