CastAssetWithAnalytics

public struct CastAssetWithAnalytics<T, U, V, W> : Codable where T : Decodable, T : Encodable, U : Decodable, U : Encodable, V : Decodable, V : Encodable, W : Decodable, W : Encodable

Represents the media information that the receiver application will use for content authorization and subsequent casting

  • The user authentication token

    Declaration

    Swift

    public let userAuthToken: String
  • Cast platform asset

    Declaration

    Swift

    public let platformAsset: CastPlatformAsset
  • HTTP Headers to be added to auth request

    Declaration

    Swift

    public let headers: Headers?
  • The analytics attributes that has to be shared with chromecast receiver (optional)

    Declaration

    Swift

    public let flAnalyticsData: T?
  • Custom video analytics metadata to be shared with chromecast receiver (optional)

    Declaration

    Swift

    public let videoAnalyticsData: U?
  • Custom ad metadata to be shared with chromecast receiver (optional)

    Declaration

    Swift

    public let customAdMetadata: V?
  • TVOD data to be shared with chromecast receiver (optional)

    Declaration

    Swift

    public let metadata: W?
  • Details of the current episode and next episode details for bookmark (optional)

    Declaration

    Swift

    public let bookmarkData: CustomBookmarkData?
  • Undocumented

    Declaration

    Swift

    public init(userAuthToken: String, platformAsset: CastPlatformAsset, headers: Headers?, flAnalyticsData: T?, videoAnalyticsData: U?, customAdMetadata: V?, metadata: W?, bookmarkData: CustomBookmarkData?)

Available where W == JSONValue