OGMetaData

@objc(SBDOGMetaData)
public class OGMetaData : NSObject, Codable

Represents OpenGraph information

Since

3.0.193
  • The title of object as it should appear within the graph

    Declaration

    Swift

    @objc
    public let title: String?
  • url

    The canonical URL of object that will be used as its permanent ID in the graph

    Declaration

    Swift

    @objc
    public let url: String?
  • A one to two sentence description of object.

    Declaration

    Swift

    @objc
    public let desc: String?
  • An image object which should represent the object within the graph

    Declaration

    Swift

    @objc
    public let defaultImage: OGImage?