CastAsset

@JsonClass(generateAdapter = true)
data class CastAsset(val userAuthToken: String, val platformAsset: CastPlatformAsset, val headers: Map<String, String>? = null, val flAnalyticsData: Map<String, Any>? = null, val videoAnalyticsData: Map<String, Any>? = null, val customAdMetadata: Map<String, Any>? = null, val metadata: Map<String, Any>? = null, val bookmarkData: EpisodeBookmarkRecord? = null)

CastAsset represents the media information that the receiver application will use for content authorization and subsequent casting.

Constructors

Link copied to clipboard
constructor(userAuthToken: String, platformAsset: CastPlatformAsset, headers: Map<String, String>? = null, flAnalyticsData: Map<String, Any>? = null, videoAnalyticsData: Map<String, Any>? = null, customAdMetadata: Map<String, Any>? = null, metadata: Map<String, Any>? = null, bookmarkData: EpisodeBookmarkRecord? = null)

Creates CastAsset instance

Properties

Link copied to clipboard

Details of the current episode and next episode details for bookmark (optional)

Link copied to clipboard

Custom ad metadata to be shared with chromecast receiver (optional)

Link copied to clipboard
val flAnalyticsData: Map<String, Any>? = null

The analytics attributes that has to be shared with chromecast receiver (optional)

Link copied to clipboard
val headers: Map<String, String>? = null

The Key-Value pair sent as HTTP Request Header.

Link copied to clipboard
val metadata: Map<String, Any>? = null

TVOD data to be shared with chromecast receiver (optional)

Link copied to clipboard
Link copied to clipboard

The user authentication token

Link copied to clipboard

Custom video analytics metadata to be shared with chromecast receiver (optional)