MetadataDescription
@objc(THEOplayerMetadataDescription)
public class MetadataDescription : NSObject, Codable
The MetadataDescription object is used to describe content.
-
A dictionary of metadata.
Remark
- The metadata key is to be passed as a dictionary key. The key must be of type String.
- The metadata value is to be passed as a dictionary value. The value must be of type Any.
Declaration
Swift
@objc public var metadataKeys: [String : Any]? -
The title of the content.
Declaration
Swift
@objc public var title: String? -
Constructs a MetadataDescription object.
Declaration
Swift
@objc public init(metadataKeys: [String : Any]?, title: String? = nil)Parameters
metadataKeysA dictionary of metadata.
titleThe title of the content, defaults to nil.
MetadataDescription Class Reference