Story

data class Story(uniqueId: String, title: String, name: String?, index: Int, seen: Boolean, currentTime: Long, media: StoryMedia)

This data class represents a story inside a story group.

Constructors

Story
Link copied to clipboard
fun Story(uniqueId: String, title: String, name: String?, index: Int, seen: Boolean, currentTime: Long, media: StoryMedia)

Properties

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

media
Link copied to clipboard
val media: StoryMedia

Media content of the story

name
Link copied to clipboard
val name: String?

Name of the story

seen
Link copied to clipboard
val seen: Boolean

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

title
Link copied to clipboard
val title: String

Title of the story

uniqueId
Link copied to clipboard
val uniqueId: String

ID of the story