Builder
@objc(BMACustomDataBuilder)
@objcMembers
class Builder : NSObject
Utility builder for CustomData
objects
Create new customData
let builder = CustomData.Builder()
builder.withCustomData1("my custom data")
let customData = builder.build()
Change existing customData
let existingCustomData = analyticsCollector.customData
let builder = CustomData.Builder(from: existingCustomData)
builder.withCustomData1("new value")
analyticsCollector.customData = builder.build()
-
Declaration
Swift
override public init()
-
Declaration
Swift
public convenience init(from customData: CustomData)
-
Creates a new
CustomData
objectDeclaration
Swift
public func build() -> CustomData
-
Declaration
Swift
@discardableResult public func withExperimentName(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData1(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData2(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData3(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData4(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData5(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData6(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData7(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData8(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData9(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData10(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData11(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData12(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData13(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData14(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData15(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData16(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData17(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData18(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData19(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData20(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData21(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData22(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData23(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData24(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData25(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData26(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData27(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData28(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData29(_ value: String?) -> Self
-
Declaration
Swift
@discardableResult public func withCustomData30(_ value: String?) -> Self