Package-level declarations

Types

Link copied to clipboard

Represents the reason why a Chapter is blocked.

Link copied to clipboard
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.

Link copied to clipboard

Represents data that can be associated with analytics tracking information.

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

Represents Digital Rights Management (DRM) information for a media stream.

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

Represents a media composition.

Link copied to clipboard

Represents the type of media.

Link copied to clipboard
object MediaUrn

This object provides functionality to validate whether a given String is a valid media URN.

Link copied to clipboard
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

Represents a media resource.

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

Represents a segment of a media item.

Link copied to clipboard
data class SpriteSheet(val urn: String, val rows: Int, val columns: Int, val thumbnailHeight: Int, val thumbnailWidth: Int, val interval: Long, val url: String)

Represents a sprite sheet containing multiple thumbnail images arranged in a grid.

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

Represents a time interval.

Link copied to clipboard

Represents the type of time interval.

Functions

Link copied to clipboard

Checks if this is a valid media URN.