Placement

public protocol Placement : Decodable, Encodable

Undocumented

  • The name of the div

    Declaration

    Swift

    var divName: String { get }
  • The network ID. If none is specified it retrieves the value from AdzerkSDK.defaultNetworkId

    Declaration

    Swift

    var networkId: Int { get }
  • The site ID. If none is specified it retrieves the value from AdzerkSDK.defaultSiteId

    Declaration

    Swift

    var siteId: Int { get }
  • Undocumented

    Declaration

    Swift

    var count: Int? { get }
  • options() Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func options() -> PlacementRequest<Self>.Options
  • validate() Default implementation

    Validates the placement values before sending. An error describing the issue will be thrown if invalid.

    Default Implementation

    Declaration

    Swift

    func validate() throws