Story

data class Story(uniqueId: String, index: Int, title: String, name: String?, seen: Boolean, currentTime: Long?, previewUrl: String?, storyComponentList: List<StoryComponent>?, actionUrl: String?, actionProducts: List<STRProductItem>?)

This data class represents a story inside a story group.

Constructors

Story
Link copied to clipboard
fun Story(uniqueId: String, index: Int, title: String, name: String?, seen: Boolean, currentTime: Long?, previewUrl: String?, storyComponentList: List<StoryComponent>?, actionUrl: String?, actionProducts: List<STRProductItem>?)

Properties

actionProducts
Link copied to clipboard
val actionProducts: List<STRProductItem>?

Products which the has just interacted with

actionUrl
Link copied to clipboard
val actionUrl: String?

URL which the user has just interacted with

currentTime
Link copied to clipboard
val currentTime: Long?

Time of the story that user watched

index
Link copied to clipboard
val index: Int

Index of the story among other stories of the story group

name
Link copied to clipboard
val name: String?

Name of the story

previewUrl
Link copied to clipboard
val previewUrl: String?

: URL of the preview image of the story

seen
Link copied to clipboard
val seen: Boolean

State of the story that shows whether the story is seen or not

storyComponentList
Link copied to clipboard
val storyComponentList: List<StoryComponent>?

List of story components in the story

title
Link copied to clipboard
val title: String

Title of the story

uniqueId
Link copied to clipboard
val uniqueId: String

ID of the story