CustomVars
public class CustomVars : NSObject
Wrapper class used to manage CustomVar instances
-
Add a CustomVar
Declaration
Parameters
varId
custom variable identifier
value
value of the custom variable
type
type of the custom variable - See CustomVarType
Return Value
the new custom var instance
-
Remove a custom variable
Declaration
Swift
@objc public func remove(_ customVarId: String)
Parameters
customVarId
the custom variable identifier
-
Remove all the custom variables
Declaration
Swift
@objc public func removeAll()