SpotXData
@available(*, deprecated, message: "This class will be removed with the next major release.")
@objc(THEOplayerSpotXData)
public class SpotXData : NSObject, Codable
Provides data for SpotX ad integration.
-
Parameters that have values of type String.
Declaration
Swift
@objc public var stringParameters: [String : String]
-
Parameters that have values of type Int.
Declaration
Swift
@objc public var intParameters: [String : Int]
-
Parameters that have values of type Bool.
Declaration
Swift
@objc public var boolParameters: [String : Bool]
-
Parameters that have values of type [String].
Declaration
Swift
@objc public var stringArrayParameters: [String : [String]]
-
Constructs a SpotXData object.
Declaration
Swift
@objc public init(stringParameters: [String : String]? = [:], intParameters: [String : Int]? = [:], boolParameters: [String : Bool]? = [:], geoParameter: Geo? = nil, stringArrayParameters: [String : [String]]? = [:])
Parameters
stringParameters
Parameters that have values of type String, defaults to an empty Dictionary.
intParameters
Parameters that have values of type Int, defaults to an empty Dictionary.
boolParameters
Parameters that have values of type Bool, defaults to an empty Dictionary.
geoParameter
Parameters that have values of type
Geo
, defaults to nil.stringArrayParameters
Parameters that have values of type [String], defaults to an empty Dictionary.