ChromecastMetadataImage
@objc(THEOplayerChromecastMetadataImage)
public class ChromecastMetadataImage : NSObject, Codable
The metadata of a Chromecast image.
-
The URL to the metadata image.
Declaration
Swift
@objc public var src: String -
The width of the image, in pixels.
Declaration
Swift
@objc public var width: Int -
The height of the image, in pixels.
Declaration
Swift
@objc public var height: Int -
Constructs a ChromecastMetadataImage.
Declaration
Swift
@objc public init(src: String, width: Int = 0, height: Int = 0)Parameters
srcThe URL of the image.
widthThe width of the image, in pixels. Defaults to 0.
heightThe height of the image, in pixels. Defaults to 0.
ChromecastMetadataImage Class Reference