Chapter
data class Chapter(val urn: String, val title: String, val imageUrl: String, val mediaType: MediaType, val lead: String? = null, val description: String? = null, val blockReason: BlockReason? = null, val fullLengthUrn: String? = null, val fullLengthMarkIn: Long? = null, val fullLengthMarkOut: Long? = null, val listSegment: List<Segment>? = null, val listResource: List<Resource>? = null, val comScoreAnalyticsLabels: Map<String, String>? = null, val analyticsLabels: Map<String, String>? = null, val timeIntervalList: List<TimeInterval>? = null, val validFrom: Instant? = null, val validTo: Instant? = null, val spriteSheet: SpriteSheet? = null) : DataWithAnalytics
Represents a Chapter within a media.
Constructors
Link copied to clipboard
constructor(urn: String, title: String, imageUrl: String, mediaType: MediaType, lead: String? = null, description: String? = null, blockReason: BlockReason? = null, fullLengthUrn: String? = null, fullLengthMarkIn: Long? = null, fullLengthMarkOut: Long? = null, listSegment: List<Segment>? = null, listResource: List<Resource>? = null, comScoreAnalyticsLabels: Map<String, String>? = null, analyticsLabels: Map<String, String>? = null, timeIntervalList: List<TimeInterval>? = null, validFrom: Instant? = null, validTo: Instant? = null, spriteSheet: SpriteSheet? = null)
Properties
Link copied to clipboard
Labels for Commanders Act analytics.
Link copied to clipboard
Reason for blocking the chapter, if applicable.
Link copied to clipboard
Labels for ComScore analytics.
Link copied to clipboard
A detailed description of the chapter.
Link copied to clipboard
Start time of the chapter within the full-length media (in milliseconds).
Link copied to clipboard
End time of the chapter within the full-length media (in milliseconds).
Link copied to clipboard
URN of the full-length media this chapter is a part of.
Link copied to clipboard
Indicates whether this represents a full-length chapter.
Link copied to clipboard
List of resources associated with this chapter.
Link copied to clipboard
List of segments within this chapter.
Link copied to clipboard
The SpriteSheet information if available.
Link copied to clipboard
List of time intervals relevant to the chapter.
Functions
Link copied to clipboard
Converts the Chapter.blockReason into a BlockReasonException.