Plugin

@objc(SBDPlugin)
public class Plugin : NSObject, Codable

A object to represent a plugin

Since

3.0.207
  • String indicates a plugin type

    Declaration

    Swift

    @objc
    public let type: String?
  • String indicates a vendor who provides this plugin

    Declaration

    Swift

    @objc
    public let vendor: String?
  • Dictionary contains details of this plugin Key is string and value is any object

    Declaration

    Swift

    @objc
    public let detail: [String : Any]?
  • Default constructor.

    Declaration

    Swift

    public required init(from decoder: Decoder) throws

    Parameters

    decoder

    Decoder instance

  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance