Resource

@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

Constructors

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

Types

Link copied to clipboard

Token type

Link copied to clipboard

Type of the Resource

Properties

Link copied to clipboard
@SerialName(value = "analyticsMetadata")
open override val analyticsLabels: Map<String, String>? = null
Link copied to clipboard
@SerialName(value = "analyticsData")
open override val comScoreAnalyticsLabels: Map<String, String>? = null
Link copied to clipboard
val drmList: List<Drm>? = null
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "streaming")
val type: Resource.Type
Link copied to clipboard
val url: String