ChromecastMetadataImage

@objc(THEOplayerChromecastMetadataImage)
public class ChromecastMetadataImage : NSObject, Codable

The metadata of a Chromecast image.

  • src

    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

    src

    The URL of the image.

    width

    The width of the image, in pixels. Defaults to 0.

    height

    The height of the image, in pixels. Defaults to 0.