VastMacro

@objc(BMPVastMacro)
public class VastMacro : NSObject

Represents a VAST macro for VastMacroValueProvider.

  • The name for the macro without [] characters.

    Declaration

    Swift

    public let name: String
  • Values collected by the Player for the macro. Empty array if the Player does not provide any values.

    Declaration

    Swift

    public let values: [String]
  • Initialize VAST macro.

    Declaration

    Swift

    public init(name: String, values: [String])

    Parameters

    name

    Name for the macro without [] characters.

    values

    Values for the macro.