Package com.appsamurai.storyly.moments.data.entity

Types

AnalyticsType
Link copied to clipboard
enum AnalyticsType : Enum<AnalyticsType>

This enum class represents the type of the analytics stat.

ImageMedia
Link copied to clipboard
data class ImageMedia(uri: Uri) : Media
Media
Link copied to clipboard
interface Media
MediaType
Link copied to clipboard
enum MediaType : Enum<MediaType>
MomentsAnalytics
Link copied to clipboard
data class MomentsAnalytics(storyId: String, likes: List<MomentsFollowerEntry>, impressions: List<MomentsFollowerEntry>)

This data class represents like and view analytics of a story.

MomentsComponent
Link copied to clipboard
open class MomentsComponent(id: String, type: MomentsComponentType)

This parent class represents the interactive components which users are interacted with.

MomentsComponentType
Link copied to clipboard
enum MomentsComponentType : Enum<MomentsComponentType>

This enum class represents the type of the components.

MomentsCTAComponent
Link copied to clipboard
data class MomentsCTAComponent(id: String, urlText: String, stickerText: String) : MomentsComponent

This data class represents the CTA component.

MomentsFollowerEntry
Link copied to clipboard
data class MomentsFollowerEntry(userAvatarURL: String, username: String)

This data class represents information of an user.

MomentsImageComponent
Link copied to clipboard
data class MomentsImageComponent(id: String, imageUrl: String) : MomentsComponent

This class represents the Moments Image component.

MomentsMedia
Link copied to clipboard
data class MomentsMedia(type: StoryType, actionUrl: String?, previewUrl: String?, momentsComponentList: List<MomentsComponent>?)

This data class represents the media of a story.

MomentsStory
Link copied to clipboard
data class MomentsStory(id: String, title: String, seen: Boolean, media: MomentsMedia, preModerationStatus: PreModerationStatus?)

This data class represents a story inside a story group.

MomentsStoryGroup
Link copied to clipboard
data class MomentsStoryGroup(id: String, iconUrl: String?, seen: Boolean, stories: List<MomentsStory>)

This data class represents a story group in the StorylyView.

MomentsTextComponent
Link copied to clipboard
data class MomentsTextComponent(id: String, text: String) : MomentsComponent

This data class represents the Text component.

MomentsUserPayload
Link copied to clipboard
data class MomentsUserPayload(id: String, username: String, avatarUrl: String, followings: List<String>, creatorTags: List<String>?, consumerTags: List<String>?, expirationTime: Int)

Represents a Moments User Payload model

MomentsVideoComponent
Link copied to clipboard
data class MomentsVideoComponent(id: String, videoUrl: String, startTime: Long, endTime: Long) : MomentsComponent

This data class represents the CTA component.

PreModeration
Link copied to clipboard
data class PreModeration(status: PreModerationStatus, failMessage: String?, storyComponents: List<MomentsComponent>, storySnapshot: Uri)

This class represents the premoderation of the components which users are interacted with.

PreModerationStatus
Link copied to clipboard
enum PreModerationStatus : Enum<PreModerationStatus>

This enum class represents the type of the components.

StoryGroupType
Link copied to clipboard
enum StoryGroupType : Enum<StoryGroupType>

This enum class represents the type of the story group.

StoryType
Link copied to clipboard
enum StoryType : Enum<StoryType>

This enum class represents the type of a story content

VideoDuration
Link copied to clipboard
data class VideoDuration(startTime: Double, endTime: Double)
VideoMedia
Link copied to clipboard
data class VideoMedia(uri: Uri) : Media