CastAsset
@JsonClass(generateAdapter = true)
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
The analytics attributes that has to be shared with chromecast receiver (optional)
Link copied to clipboard
CastPlatformAsset instance
Link copied to clipboard
The user authentication token
Link copied to clipboard
Custom video analytics metadata to be shared with chromecast receiver (optional)