storyly
/
com.appsamurai.storyly
/
StoryGroup
Story
Group
data class
StoryGroup
(id:
Int
, title:
String
, iconUrl:
String
, thematicIconUrls:
Map
<
String
,
String
>?, coverUrl:
String
?, index:
Int
, seen:
Boolean
, stories:
List
<
Story
>, pinned:
Boolean
, type:
StoryGroupType
)
Content copied to clipboard
This data class represents a story group in the StorylyView.
Constructors
Properties
Constructors
StoryGroup
Link copied to clipboard
fun
StoryGroup
(id:
Int
, title:
String
, iconUrl:
String
, thematicIconUrls:
Map
<
String
,
String
>?, coverUrl:
String
?, index:
Int
, seen:
Boolean
, stories:
List
<
Story
>, pinned:
Boolean
, type:
StoryGroupType
)
Content copied to clipboard
Properties
coverUrl
Link copied to clipboard
val
coverUrl
:
String
?
Content copied to clipboard
: URL of the story group cover image
iconUrl
Link copied to clipboard
val
iconUrl
:
String
Content copied to clipboard
URL of the story group icon image
id
Link copied to clipboard
val
id
:
Int
Content copied to clipboard
ID of the story group
index
Link copied to clipboard
val
index
:
Int
Content copied to clipboard
Order index of the story group
pinned
Link copied to clipboard
val
pinned
:
Boolean
Content copied to clipboard
Pin status of the story group that shows whether group is pinned or not
seen
Link copied to clipboard
val
seen
:
Boolean
Content copied to clipboard
State of the story group that shows whether all of the stories are seen or not
stories
Link copied to clipboard
val
stories
:
List
<
Story
>
Content copied to clipboard
List of stories in the story group
thematicIconUrls
Link copied to clipboard
val
thematicIconUrls
:
Map
<
String
,
String
>?
Content copied to clipboard
: URLs of different the story group icon themes
title
Link copied to clipboard
val
title
:
String
Content copied to clipboard
Title of the story group
type
Link copied to clipboard
val
type
:
StoryGroupType
Content copied to clipboard
Type of the story group