Content

public protocol Content : Decodable, Encodable

Content

  • id

    Undocumented

    Declaration

    Swift

    var id: String { get }
  • Undocumented

    Declaration

    Swift

    var type: String { get }
  • Undocumented

    Declaration

    Swift

    var name: String { get }
  • Undocumented

    Declaration

    Swift

    var providerId: String? { get }
  • Undocumented

    Declaration

    Swift

    var genre: String? { get }
  • Undocumented

    Declaration

    Swift

    var licenseWindowStartDate: String? { get }
  • Undocumented

    Declaration

    Swift

    var channel: String? { get }
  • Undocumented

    Declaration

    Swift

    var streamType: ContentType { get }
  • The name of the brand to which the content belongs

    Declaration

    Swift

    var brand: String? { get }
  • Affiliate or MVPD name for TV Everywhere authenticated services

    Declaration

    Swift

    var affiliate: String? { get }
  • Name of CMS Provider

    Declaration

    Swift

    var assetProviderName: String? { get }
  • Name of CDN from where the streaming resource is played

    Declaration

    Swift

    var cdnName: String? { get }
  • Unique identifier for content from external system (VOD)

    Declaration

    Swift

    var externalContentId: String? { get }
  • Unique identifier for content from external system (Live)

    Declaration

    Swift

    var enrichmentContentId: String? { get }
  • Program ID

    Declaration

    Swift

    var programId: String? { get }
  • Program Name

    Declaration

    Swift

    var programName: String? { get }
  • Channel ID

    Declaration

    Swift

    var channelId: String? { get }
  • Channel Name

    Declaration

    Swift

    var channelName: String? { get }
  • Identify whether content is free preview

    Declaration

    Swift

    var isFreePreview: Bool? { get }
  • Identify whether the playback is an auto playback or user initiated

    Declaration

    Swift

    var autoPreview: Bool? { get }
  • Mode of the player

    Declaration

    Swift

    var playbackMode: String? { get }
  • Identify whether content is downloadable

    Declaration

    Swift

    var isDownloadable: Bool? { get }
  • Language of the content

    Declaration

    Swift

    var contentLanguage: String? { get }
  • Filter your data by a specific package such as Warner Bros, Paramount, Disney, Netflix, HBO, etc.

    Declaration

    Swift

    var packageName: String? { get }
  • Filter your data by a specific package quality contracted, also known as commercialized resolution, with the objective to distinguish the consumption of customers with different resolution contracts (e.g., platform plans with access to SD, HD or UHD qualities)

    Declaration

    Swift

    var contractedResolution: String? { get }
  • Filter your data by a specific saga, known as a collection of related, successive films that share the same fictional universe, or are marketed as a series. Note, saga dimensions for VOD movies are equivalent to VOD TV shows.

    Declaration

    Swift

    var saga: String? { get }
  • Filter data by the subtitle a user sets when watching content.

    Declaration

    Swift

    var subtitles: String? { get }
  • Filter by the different encoding settings the customer has set in the encoder (key/value pairs).

    Declaration

    Swift

    var codecSettings: [String : String]? { get }
  • Codec profiles target specific classes of application. Filter your views by their codec profile to see content with specific requirements.

    Declaration

    Swift

    var codecProfile: String? { get }
  • Playlist identifier

    Declaration

    Swift

    var playlistId: String? { get }
  • Playlist name

    Declaration

    Swift

    var playlistName: String? { get }
  • Type of playback (VOD, LIVE, DVR)

    Declaration

    Swift

    var playbackType: PlaybackType? { get }
  • getConvivaDictionary() Default implementation

    Note: Use this method to only get Metadata for conviva

    Default Implementation

    Declaration

    Swift

    func getConvivaDictionary() -> [String : Any]
  • getNewRelicDictionary() Default implementation

    Note: Use this method to only get Metadata for newRelic

    Default Implementation

    Declaration

    Swift

    func getNewRelicDictionary() -> [String : Any]

Available where Self == TVShow

  • getConvivaDictionary() Default implementation

    Default Implementation

    Declaration

    Swift

    func getConvivaDictionary() -> [String : Any]
  • getNewRelicDictionary() Default implementation

    Default Implementation

    Declaration

    Swift

    func getNewRelicDictionary() -> [String : Any]