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

    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 - parameter customVarId: the custom variable identifier

    Declaration

    Swift

    public func remove(_ customVarId: String)

    Parameters

    customVarId

    the custom variable identifier

  • Remove all the custom variables

    Declaration

    Swift

    public func removeAll()