Package-level declarations

Types

Link copied to clipboard

Block reason

Link copied to clipboard
@Serializable
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) : DataWithAnalytics

Chapter

Link copied to clipboard

Data with analytics

Link copied to clipboard
@Serializable
data class Drm(val type: Drm.Type, val licenseUrl: String, val certificateUrl: String? = null)

Drm information

Link copied to clipboard
@Serializable
data class MediaComposition(val chapterUrn: String, val listChapter: List<Chapter>, val comScoreAnalyticsLabels: Map<String, String>? = null, val analyticsLabels: Map<String, String>? = null) : DataWithAnalytics

Media composition

Link copied to clipboard

The media type

Link copied to clipboard
object MediaUrn

Media urn

Link copied to clipboard
@Serializable
data class Resource(val url: String, val type: Resource.Type, val tokenType: Resource.TokenType = TokenType.NONE, val drmList: List<Drm>? = null, val comScoreAnalyticsLabels: Map<String, String>? = null, val analyticsLabels: Map<String, String>? = null) : DataWithAnalytics

Resource

Link copied to clipboard
@Serializable
data class Segment(val urn: String, val title: String, val markIn: Long, val markOut: Long, val blockReason: BlockReason? = null)

Segment

Link copied to clipboard
@Serializable
data class TimeInterval(val markIn: Long?, val markOut: Long?, val type: TimeIntervalType?)

Time interval

Link copied to clipboard

Time interval type

Functions

Link copied to clipboard