ChromecastMetadataDescription
@objc(THEOplayerChromecastMetadataDescription)
public class ChromecastMetadataDescription : MetadataDescription
The description of the metadata used by Chromecast.
-
An array of ChromecastMetadataImages.
Declaration
Swift
@objc public var images: [ChromecastMetadataImage]? -
The release date using the following string format: “YYYY-MM-DD”
Remark
e.g. 2017-03-14Declaration
Swift
@objc public var releaseDate: String? -
The subtitle / short explanation about the content.
Declaration
Swift
@objc public var subtitle: String? -
The release year as an integer number.
Declaration
Swift
public var releaseYear: Int? -
The type. Defaults to “generic” if unset.
Declaration
Swift
public var type: ChromecastMetadataType? -
Constructs a ChromecastMetadataDescription.
Declaration
Swift
public init(images: [ChromecastMetadataImage]? = nil, releaseDate: String? = nil, releaseYear: Int? = nil, title: String? = nil, subtitle: String? = nil, type: ChromecastMetadataType? = .GENERIC, metadataKeys: [String : Any]? = nil)Parameters
imagesList of content images for the current source, defaults to nil.
releaseDateThe release date of the current source, defaults to nil.
releaseYearThe release year as an integer number, defaults to nil.
titleThe title of the content, defaults to nil.
subtitleThe subtitle of the content, defaults to nil.
typeThe ChromecastMetadataType of the current source, defaults to
GENERIC.metadataKeysThe keys for the ChromecastMetadata, defaults to nil.
ChromecastMetadataDescription Class Reference