CustomVars

public class CustomVars: NSObject

Wrapper class used to manage CustomVar instances

  • Add a CustomVar

    Declaration

    Swift

    public func add(_ varId: Int, value: String, type: CustomVar.CustomVarType) -> CustomVar
  • Remove a custom variable - parameter customVarId: the custom variable identifier

    Declaration

    Swift

    @objc public func remove(_ customVarId: String)
  • Remove all the custom variables

    Declaration

    Swift

    @objc public func removeAll()