MomentsVideoComponent

data class MomentsVideoComponent(id: String, videoUrl: String, startTime: Long, endTime: Long) : MomentsComponent

This data class represents the CTA component.

Constructors

MomentsVideoComponent
Link copied to clipboard
fun MomentsVideoComponent(id: String, videoUrl: String, startTime: Long, endTime: Long)

Properties

endTime
Link copied to clipboard
val endTime: Long

End time of the Video Component

id
Link copied to clipboard
open override val id: String

Id of the Video component

startTime
Link copied to clipboard
val startTime: Long

Start time of the Video Component

type
Link copied to clipboard
val type: MomentsComponentType

Type of the interactive component

videoUrl
Link copied to clipboard
val videoUrl: String

URL of the Video component